The stored_enchantments component does not prevent enchanting enchantable items in enchanting tables
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:
- Give yourself any item with the enchantable component and the stored_enchantments component.
/give @s arrow[enchantable={value:1},stored_enchantments={levels:{protection:3}}] - Enchant it in a enchanting table.
or
- Give a book with any enchantment value greater than 1.
/give @s book[enchantable={value: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.
2024-08-21, 06:09 PM
2024-08-23, 08:40 AM
2024-08-23, 08:39 AM
1
1
-