Anyone know how I could make my mob attack only when it's night?

Started by KITNNAXBOX on

Topic category: Help with modding (Java Edition)

Last seen on 10:40, 8. Oct 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Anyone know how I could make my mob attack only when it's night?
Anyone know how I could make my mob attack only when it's night?
I am doing a mod in which, most mobs only attack at night, while during the day stay still and do not attack anyone.

I've been looking but I can't find any option that lets me modify that.
Last seen on 15:20, 19. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Under your attack AI set a…
Mon, 10/04/2021 - 18:03

Under your attack AI set a condition: return not is day

Last seen on 10:40, 8. Oct 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What?
Tue, 10/05/2021 - 08:36
What?
Last seen on 15:20, 19. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mob AI Block: attack for…
Tue, 10/05/2021 - 09:51

Mob AI

Block: attack for example player

Use conditions: return if not day in the provided world

 

Last seen on 10:40, 8. Oct 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you show me?
Wed, 10/06/2021 - 15:05

can you show me?