Checking For Nearby Players

Started by flunkywhat on Wed, 01/08/2020 - 01:41

Topic category: Help with modding (Java Edition)

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Checking For Nearby Players
Wed, 01/08/2020 - 01:41

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!