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.

 

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can use the "set block"…
Tue, 11/26/2024 - 05:13

You can use the "set block" procedure block to set the block to air. Then, deal damage in a radius to all entities (there's a procedure block for this).