In #6, someone observed that when opening an anvil menu, the menu property REPAIR_COST was not being applied. After conducting some tests, it was found that firstly, the properties were not being set correctly in the inventories. Secondly, certain inventory types require a special menu to properly handle certain events. For example, in the case of an anvil menu, to extract the text written for renaming an item and the repair cost property.
Solution:
Identify which menu types require specific inventory types and apply them instead of using a custom inventory everywhere.
In #6, someone observed that when opening an anvil menu, the menu property REPAIR_COST was not being applied. After conducting some tests, it was found that firstly, the properties were not being set correctly in the inventories. Secondly, certain inventory types require a special menu to properly handle certain events. For example, in the case of an anvil menu, to extract the text written for renaming an item and the repair cost property.
Solution: