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

The stored_enchantments component does not prevent enchanting enchantable items in enchanting tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 24w34a
    • None
    • Confirmed
    • Commands, Enchantments

      The bug:

      The enchanted book can be enchanted again after enchanting when I try to enchant a book with the enchantment value of 64.

      Steps to reproduce:

      1. Give yourself any item with the enchantable component and the stored_enchantments component.
        /give @s arrow[enchantable={value:1},stored_enchantments={levels:{protection:3}}]
        
      2. Enchant it in a enchanting table.

      or

      1. Give a book with any enchantment value greater than 1.
        /give @s book[enchantable={value:2}]
        
      2. Enchant it in a enchanting table twice.

      Observed Behavior:

      The enchanting button is highlighted.

      Expected Behavior:

      None of the buttons are highlighted so you can't enchant the item.

            Unassigned Unassigned
            CaN2crow987 CaN2crow987
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: