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)

Active 1 year ago
Joined May 2024
Points:
116

User statistics:

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

 

Active 11 months ago
Joined Dec 2023
Points:
205

User statistics:

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