Mojira Archive
MC-81656

Field determining whether or not a wither skull is blue is not saved to and read from NBT

The bug

Wither bosses can shoot blue wither skull if no enemy is around and there is enough space. The value if a wither skull is blue or not is not saved in the NBT data which means it loses this after reloading it, you cannot summon them in and you cannot test for them.

The reason

The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.

The reason why this happens is because the field net.minecraft.entity.projectile.EntityWitherSkull.INVULNERABLE is not written to the NBT data and cannot be set based on the NBT data.

Note: A tag for this field should not be named "Invulnerable" as this value is only used for less destroyed blocks when it explodes and for rendering. The behaviour of the "Invulnerable" tag is not affected by this.

Fixed

Marcono1234

[Mojang] Nathan Adams

2015-06-21, 05:29 PM

2023-10-11, 04:01 PM

2023-10-11, 02:35 PM

19

9

Confirmed

Low

Save Data

wither, wither_skull

Minecraft 1.8.7 - 1.20.2Minecraft 1.8.7, Minecraft 1.9.2, Minecraft 16w38a, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 18w14b, Minecraft 1.13-pre2, Minecraft 18w50a, 1.16.4, 1.17.1, 1.18.1, 1.19.3, 23w17a, 1.20 Pre-release 1, 1.20.2

23w41a