Block that detects entities

Started by Withie The Cryptid on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block that detects entities

I wanna make a block that detects entities within 16 blocks of it. If it detects any it will spawn a custom mob I made.

However I've tried multiple solutions and none have made it work, specifically with update ticks and random world ticks.

Also the block is technically naturally generating, because it spawns in a rare structure I made.