How can I make a custom game rule affect a mob's behavior?

Started by heliodink on

Topic category: Help with modding (Java Edition)

Last seen on 20:12, 26. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make a custom game rule affect a mob's behavior?
Sat, 06/05/2021 - 17:03 (edited)

I'm trying to create a mob that is hostile to another mob, but only when a specific custom game rule is true. I'm new to coding on MCreator. How can I do this?

Edited by heliodink on Sat, 06/05/2021 - 17:03
Last seen on 19:20, 11. Feb 2023
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
 I don't think this is…
Tue, 06/01/2021 - 21:43

 I don't think this is possible with a custom game mode, but maybe with a game rule?

Last seen on 20:12, 26. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah, sorry. I mistyped. I…
Wed, 06/02/2021 - 19:33

Ah, sorry. I mistyped. I meant game rule.

Last seen on 20:12, 26. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, how can I do this?
Sat, 06/05/2021 - 01:19

So, how can I do this?

Last seen on 20:12, 26. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, but could you be more…
Sun, 06/06/2021 - 17:51

Yes, but could you be more specific?