Shutdown Minecraft TnT?

De
18

I want to build a map on the tnt spawnt but it shouldn't break anything. However, it is important that it still does harm. Is that somehow possible?

Fo

Console pc?

De

Pc

Se

With or without plugins?

If with:

Pack the Pl WorldGuard draft, and then type in the chat / rg __global__ explosion deny

De

Preferably without plugins

Se

Ehm just do / gamerule mobgriefing false

Sorry did not know before that it was so easy otherwise I would have said it beforehand🤣

De

For me it does not work the gamerule but tnt still destroys blocks

Se

Oops, that's only when a creeper explodes 🥴

Em

/ gamerule setExplosionDestruction false
that should be enough

De

Or is there a command with which one spawns creeper that explode immediately that would also work

Se

So now I have it, get a commandblock in minecraft:

/ give username command_block 1

And enter the command from this page:

https://minecraftcommand.science/de/commands/30965

If it does not work, please report again

De

I don't have the gamerule at all (1.15)

De

The command unfortunately uses the summon command with riding, but I think it only works until 1.8 and minecraft doesn't know any fallingSand that is now I think falling block

Se

What version do you have?

De

1.15.2

Se

https://gaming.stackovernet.com/de/q/45645

The answer at the bottom replaces all tnt with exploding creeper, have a look there, if that doesn't work, let me know.

Se

Here is the comment of the website:

do not use TNT, just use an instant exploding creeper by using / summon creeper x y z {Fuse: 0} or if you want all tnt is not damaging any block use

summon a charged creeper at the location of the TNT by putting / execute @e [type = PrimedTNT] ~ ~ ~ summon creeper ~ ~ ~ {Fuse: 0} in a clock, and use / kill @e [type = PrimedTNT] in a clock too

The first clock must always be activated after the second, otherwise it will not work.

De

Thanks, works great

Se

Have fun!