#Read enchanted books
1 messages · Page 1 of 1 (latest)
1 messages · Page 1 of 1 (latest)
Is there a way to read enchanted books?
For example, the enchantment and its level?
I want to implement something that reads the enchantment and level of a book, and creates another one with the same enchantment but with a new level with the script API
item.getComponent('enchantable')
Does it also serve to detect the level? I haven't found the parameter for it.