mojira.dev
MC-148209

Creeper explosion radius overflows

The NBT tag ExplosionPower on Creepers is a byte, rather than an int. Therefore, it overflows at 128, resulting in explosions that don't destroy anything.

This is inconsistent with Ghast fireballs, which store their ExplosionPower as an int.

To observe this for yourself, use the following commands after spawning a Creeper (with doMobSpawning false):

  Creeper explosion:

data merge entity @e[type=creeper,limit=1] {ignited:1b,Fuse:1s,ExplosionRadius:127}

  Fireball explosion:

execute at @e[type=minecraft:creeper] run summon minecraft:fireball ~ ~ ~ {Motion:[0.0,-1.0,0.0],direction:[0.0,-1.0,0.0],ExplosionPower:127}

kill @e[type=minecraft:creeper]

Replace the number after ExplosionPower with the desired value. To avoid lag, make sure doTileDrops and doFireTick are both false.

Comments 1

Not a bug.

This site is for bug reports only. For feature suggestions or changes please see: Minecraft Suggestions on Reddit.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

JuniorJedi256

(Unassigned)

Unconfirmed

Minecraft 1.13.2, Minecraft 1.14 Pre-Release 2

Retrieved