Need Help Making Mobs Being Scared Of Certain Blocks

Started by Livestreamfox on

Topic category: Help with modding (Java Edition)

Last seen on 17:35, 4. Mar 2023
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need Help Making Mobs Being Scared Of Certain Blocks

Is it possible to make a mob be afraid of specific blocks? And if it is how?

Last seen on 13:21, 4. Jun 2023
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think that you can do some…
Wed, 07/20/2022 - 09:34

I think that you can do some procedure like - on entity tick, if event/target entity is close to block of this type, then it runs away. I think that's possible.