Topic category: Help with MCreator software
So I have a custom crafting block/GUI that I want to be used to make enchanted books with higher levels. For example, when it is right clicked with a book & quill and the proper items in the proper slot, a Sharpness 6 book will be placed in the blocks output slot.
So to do this, I made an itemstack variable that I set in the block's inventory when the requirements are met. But the problem is editing the NBT data of the enchanted book item, the "id" and "lvl" nbt tage are subtags, so idk how to fit them into the NBT text tag. I tried Set NBT text tag "StoredEnchantments" of itemstack to "id:sharpness,lvl:6" with all sorts of syntax, and i tried setting the lvl and id tags separately but it always gives me a blank enchanted book when I run the procedure.