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

ConversionTime, DrownedConversionTime and StrayConversionTime fields cannot be set to a negative value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21, 1.21.1
    • Confirmed
    • Commands
    • Low
    • Platform

      When the "ConversionTime" of the zombie villager is set to -1, it means that it's not being cured. Same thing with "DrownedConversionTime" for all kind of zombies when is set to -1, which is when they not being convert into drowned. Despite that you cant set the "DrownedConversionTime" and "ConversionTime" data to -1 or any other negative value using "/data" or "/summon".

      Steps to reproduce:

      1. /tick freeze
      2. /summon minecraft:zombie ~ ~ ~
      3. /data modify entity @n[type=zombie] DrownedConversionTime set value 3
      4. /data get entity @n[type=minecraft:zombie] DrownedConversionTime

        The result is 3

      5. /data modify entity @n[type=zombie] DrownedConversionTime set value -1
      6. /data get entity @n[type=minecraft:zombie] DrownedConversionTime

        The result is still 3, when it should be -1

            Unassigned Unassigned
            Brain81505 Brain81505
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: