Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6768

setFreezeTicks() is limited to getMaxFreezeTicks()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    •  

       

    • 3262-Spigot-dc75aca-f0f801e (MC: 1.17.1)
    • Yes

      The method setFreezeTicks is arbitrarily limited to getMaxFreezeTicks (The value of which is the point where the entity starts taking freeze damage) despite vanilla allowing much higher values.

      This can be seen by spawning a chicken and running:

      /data merge entity @e[type=minecraft:chicken,sort=nearest,limit=1] {TicksFrozen:30000} 

      Which will successfully set the entity's freeze ticks to 30000, causing them to soon freeze to death.

            Unassigned Unassigned
            joshl5324@gmail.com JishunaMatata
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: