mojira.dev
MC-100146

Creeper swelling animation doesn't take fuse length into account

The Bug

The creeper fuse animation does not take its Fuse NBT value into account.

To reproduce

  1. Execute the command

    /summon minecraft:creeper ~ ~ ~ {Fuse:2000}
  2. Use a flint and steel on the summoned creeper.

  3. ❌ Notice that the animation stops well before the creeper explodes.

  4. Execute the command

    /summon minecraft:creeper ~ ~ ~ {Fuse:20}
  5. Use a flint and steel on the summoned creeper.

  6. ❌ Notice that the animation is not played completely before the creeper explodes.

Original description

If a creeper's fuse length is shortened, it will explode before the animation is complete. If the fuse length is lengthened, the animation stops after 30 ticks, so the creeper will simply not change until it explodes.

This is the same bug as MC-2490, just for creepers instead of TNT. It's a little harder to fix, since the creeper animation includes expansion in addition to the flashing. The best fix would be to simply change the speed of the creeper expansion to match the fuse length. Alternatively, the creeper could just keep expanding until it explodes, but that would lead to very oversized creepers for long fuse lengths.

Linked issues

Attachments

Comments 13

I don't believe changing the fuse length shortens the animation. You'll have to edit the animation yourself.

@Scott Ruesch

Yes. That's the bug.

What I meant was that I don't think the game is programmed to edit the animation upon changing the fuse length.

Yes, but tnt didn't do that either in the past (MC-2490), and this is the same, but for a creeper

3 more comments

Can confirm in 21w37a.

How to reproduce:
1. Execute the command

/summon minecraft:creeper ~ ~ ~ {Fuse:2000}

2. Use a flint and steel on the summoned creeper.

3. ❌ Notice that the animation stops well before the creeper explodes.
4. Execute the command

/summon minecraft:creeper ~ ~ ~ {Fuse:20}

5. Use a flint and steel on the summoned creeper.

6. ❌ Notice that the animation is not played completely before the creeper explodes.

Can confirm in 21w39a.

Can confirm in 21w42a.

Can confirm in 21w43a.

KingSupernova

(Unassigned)

Confirmed

Mob behaviour, Rendering

creeper, fuse, nbt

Minecraft 1.9.1 Pre-Release 3, 1.17.1, 21w37a, 21w39a, 21w42a, ..., 1.20.3 Pre-Release 2, 1.20.4, 1.21, 1.21.3, 1.21.4

Retrieved