Detect mob/player/entity

Started by osh307 on

Topic category: Help with modding (Java Edition)

Last seen on 20:02, 25. Nov 2022
Joined Aug 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect mob/player/entity

I'm trying to set up a procedure (if possible) to detect when a mob/player/entity entered has entered or is within the defined range.

blockrange

Think of this block as a proximity detector or turret. If a mob/player/entity comes within X blocks of the block, do nasty things!

 

Any help would be appreciated.

Last seen on 18:16, 20. Oct 2021
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
  I'm working on something…
Thu, 01/31/2019 - 19:03

 

I'm working on something almost like this!
is a trap block when you collide with it takes damage just like the magma block! But I think you can do this using the new version!