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

Enchants level capped at 255 when integer limit is 2147483647

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.20.2
    • jre-1.8 , Windows 11
    • Unconfirmed
    • (Unassigned)

      So when i give myself an item that has a enchant over lvl 255 like so: /give @p acacia_sign{Enchantments:[

      {id:fortune,lvl:123456}

      ]} 1

      The enchant that is shown on the item has lvl of 255, the functionality of the enchant is also like lvl 255

      but when i use /data get entity @s it shows the exact level of enchant

      The integer limit in 32bit is 2147483647 so it is weird that enchants are capped at 255

            Unassigned Unassigned
            Mrkq Mrkq
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: