Movement Detector

Started by HeroGamer on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Movement Detector
Tue, 01/28/2025 - 18:33 (edited)

How do I make a movement detector (a block that recognizes a mob inside 3 blocks) 

 

 

 

 

Edited by HeroGamer on Tue, 01/28/2025 - 18:33
Joined Oct 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
On the block's tick update …
Wed, 01/29/2025 - 17:59

On the block's tick update (make sure the block is ticking)

if - Does entity exist at [x y z] in a square cube with size [3] of type [mob]
do - 

You can find it in World Procedures / Data