how to make a mob scared of a block

Started by Cheese Dealer on

Topic category: Help with MCreator software

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make a mob scared of a block

I kinda need help making mobs scared of a block i would do the simple solution of just having an entity in the block but due to the fact im gonna have a LOT of this block entity isnt an option cause then massive lag

 

so basically how do i make a mob scared of a block (similar to how hoglins are scared of warped fungus)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So here is the procedure:…
Wed, 11/06/2024 - 20:16

So here is the procedure: https://ibb.co/SmHXY57 

In this procedure the mob only runs in one direction away. You just need to add this procedure to the triggers of the mob to "On Entity Tick Update"

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you for helping me :)
Wed, 11/06/2024 - 23:39

thank you for helping me :)

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@x8laye4r what variable type…
Thu, 11/07/2024 - 01:57

@x8laye4r what variable type would i make these variables?