
[Question] Enchantment dump with level
ShinryuAspect opened this issue ยท 2 comments
Hi, I was just wondering if there was any way of dumping every enchantment along with its max level.
I know that, technically, those are items (minecraft:enchanted_book) with an NBT associated
StoredEnchantments {
[0] {
lvl: Xs
id: "namespace:enchantment_name"
}
}
but I'm struggling to find a way of getting this dump.
EDIT: I found that there was an "items-with-nbt" dump-type lurking in the SubCommandDump.java, but it seems is no longer there on the 1.20.1 branch.
I uploaded a new version where the max lvl was added to the enchantments
dump.