How to make entity stay near block unless broken

Started by EthanIslandGamer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make entity stay near block unless broken

Hello! I am making a dragon mod and I want the dragons to stay near the block (which is the dragon egg) unless broken. Is there any way to do that?

 

thanks,

EthanIslandGamer

Without some custom coding,…
Sun, 12/13/2020 - 10:50

Without some custom coding, I don't think so, unless if you could somehow do it with AI conditions to disable walking AI when entity should not move