Block that detects distance from the player

Started by Ed8002 on

Topic category: Help with modding (Java Edition)

Last seen on 05:56, 8. Sep 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block that detects distance from the player

I'm trying to design a mod that adds an ore that when you're close to it at a distance of 3 blocks radius, it poisons you, but I can't find an "event" that allows me to make the block detect proximity to the player, does anyone have an idea of ​​how I can do it? :C