[Vanilla] End crystals with beam target above Y ~2000 overflow

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • Environment:

      Also tested on CraftBukkit version 3096-Spigot-9fb885e-296df56 (MC: 1.16.5), issue is the same

       

       

    • CraftBukkit version 3124-Spigot-66f9d3c-384e116 (MC: 1.17)
    • Yes

      Setting a end crystals beam target to point above around Y: ~2000 causes overflow making the end crystal beam point towards Y: ~-2000

       

      Attached is 2 screenshots, one is on vanilla singleplayer and one is on the latest spigot version. Both end crystals were summoned with the exact same command (bug also affects API) 

       

      In vanilla, the beam seems to support any Y coordinate up to the 32-bit integer limit, though starts to look more and more broken for the client the higher up it points 

       

      Command to summon an end crystal to replicate: /summon minecraft:end_crystal ~ ~ ~ {BeamTarget:{X:0,Y:2060,Z:0}}

      NBT data seems to still say that the beam is pointing towards Y:2060 (/data get entity @e[type=minecraft:end_crystal,limit=1,sort=nearest])

            Assignee:
            Unassigned
            Reporter:
            ilm 9001
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: