Checking For Nearby Players

Started by flunkywhat on

Topic category: Help with modding (Java Edition)

Last seen on 23:59, 14. Jan 2020
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking For Nearby Players

I'm working on a TNT Mod and one of the blocks is a Proximity Mine. I want the block to explode around 3-4 blocks away from the nearest player, which kills them. I can't figure out how to detect if a player is close. Any help will be appreciated!