Block that detects distance from the player

Started by Ed8002 on

Topic category: Help with Minecraft modding (Java Edition)

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

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am trying the same thing,…
Sun, 05/18/2025 - 20:29

I am trying the same thing, but with radiation effect trying to make it is hard to make it detect i don't know how to make it detect