mojira.dev
MC-307825

Disabling TNT explosions does not prevent already primed TNT sulfur cubes from exploding

The bug

If a sulfur cube with TNT inside is lit, but prior to it exploding, the "Allow TNT to be activated and to explode" game rule is disabled, the explosion still occurs.

This is inconsistent with the TNT block and the minecart with TNT, which disappear without an explosion in the same situation.

Steps to reproduce

  1. Summon a sulfur cube and put a TNT block inside of it.

  2. Light the sulfur cube (e.g., with a fire charge).

  3. Before the explosion occurs, disable the "Allow TNT to be activated and to explode" game rule.

    gamerule tnt_explodes false
  4. Wait for the fuse to elapse.

Observed behavior

The sulfur cube will explode.

Expected behavior

It would simply vanish.

Linked issues

Comments 0

No comments.

shnupbups100

(Unassigned)

1611825

Confirmed

Expansion A

Important

Mob behaviour

26.2 Snapshot 5

Retrieved