Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-81656

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            marcono1234 [Mod] Marcono1234
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              CHK: