Checking For Nearby Players

Started by flunkywhat on

Topic category: Help with Minecraft modding (Java Edition)

Active 5 years ago
Joined Mar 2019
Points:
661

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1
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!