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

Piglins do not serialize their conversion time

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 20w07a, 20w08a, 20w09a
    • 20w10a
    • None
    • Confirmed
    • Mob behaviour
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              CHK: