Started by
Ali107
on
Topic category: Help with Minecraft modding (Java Edition)
How do I put enchanted books with enchantments in a loot table?
Placing "Enchanted book" items directly will add enchanted books but will not have a random enchantments.
Hi, i hope i'm not too late with that. You need to select the normal book instead, and the value for enchanting equals to the value an enchantment table can have with bookshelfs. I mean, level 10 is not going to give you Sharpness X for example, but instead enchantments that you would get using a Table with 10 Enchanting Power. If you like maxed enchants, set this to 30 or more
If you need to place a book with an specific enchant on it, that requires modifying the json file but i saw someone doing it on the forums
Sorry, I already figured it out.
how do you add specific enchantments?