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

Piglins do not serialize their conversion time

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 20w07a, 20w08a, 20w09a
    • Fix Version/s: 20w10a
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Mob behaviour
    • Mojang Priority:
      Important

      Description

      Piglins do not serialize the number of ticks until they are converted to Zombified Piglins, meaning that repeated serialization and deserialization of the chunk they are in will cause their conversion time to continuously reset, causing them to never zombify. This behavior is different from that of the drowned, which serializes the DrownedConversionTime field.

      Looking at the decompiled code, the piglins store a field names timeInOverworld which increments each time they are in the overworld, yet does not get serialized or deserialized into the NBT.

        Attachments

          Activity

            People

            Assignee:
            hkniberg [Mojang] Henrik Kniberg
            Reporter:
            MrYurihi Redstone Yurihaia
            Votes:
            8 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              CHK: