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

Piglins do not serialize their conversion time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w10a
    • 20w07a, 20w08a, 20w09a
    • None
    • Confirmed
    • Mob behaviour
    • Important

      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.

            hkniberg hkniberg
            MrYurihi Redstone Yurihaia
            Votes:
            8 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: