How do you make a block explode in a way that damages all entities in range, but not the environment

Started by Creeper_Me on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do you make a block explode in a way that damages all entities in range, but not the environment

I'm trying to make a block that will damage all entities in range and destroy only itself when activated, however, I can't seem to figure out how to do that.