Help with detecting if an enemy is at a position

Started by legoboomer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with detecting if an enemy is at a position

So I'm making an sacrificial altar thing to spawn a boss, and I want it to work once a certain enemy is on top of it.  The enemy will then be killed and the boss will be summoned.  I don't know how to do this, however, as there is no way to target a vanilla enemy and detect its position relative to a block.