#Read enchanted books

1 messages · Page 1 of 1 (latest)

cloud nebula
#

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

torpid trellis
#
item.getComponent('enchantable')
cloud nebula
#

Does it also serve to detect the level? I haven't found the parameter for it.