hafarooki / ExplosionReversal

A lightweight plugin for Minecraft servers which makes blocks destroyed by explosions regenerate.
MIT License
8 stars 7 forks source link

TNT now regenerates as of version 3.0 #30

Closed BornToDoStuff closed 4 years ago

BornToDoStuff commented 4 years ago

I do not remember TNT regenerating before. Now with 3.0 and a fresh config TNT and TNT minecarts now regenerate their explosions and I do not see a config option to disable this. It would be neat to have config options to determine what explosions are or are not regenerated, but at the very least have player created explosions such as TNT should not regenerate by default.

hafarooki commented 4 years ago

There's a config option for this, ignored blocks iirc

BornToDoStuff commented 4 years ago

As I understand it that ignores blocks when regenerating explosions, correct? I mean the explosions themselves regenerate. When I set off TNT it regenerates the same way a creeper would, and that is not wanted functionality, as TNT detonating is an intentional explosion.

hafarooki commented 4 years ago

You can add it to ignored entities iirc

BornToDoStuff commented 4 years ago

Adding primed TNT to the ignored entities list does not keep the explosion of the TNT from regenerating. TNT explosions are regenerating. Not the blocks, not the entities, all the blocks they explode are.

hafarooki commented 4 years ago

"# Blocks blown up by these entities will not be affected by this plugin"

BornToDoStuff commented 4 years ago

You are right, I did misread the config description, however in my config I have "PRIMED_TNT" in the list and it does not effect whether or not the explosions are regenerated.

image

hafarooki commented 4 years ago

You can do this on 4.0.0 now:

# Blocks blown up by these entities will not be affected by this plugin
ignored_entity_explosions:
 - CREEPER
 - PRIMED_TNT