Topic category: Help with modding (Java Edition)
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!