Started by
Loza
on
Topic category: Help with Minecraft modding (Java Edition)
I made an enchantment that I want to only come from fishing loot and dungeon chests, however when you try to add enchantments to a loot table it doesn't show up because the enchanted book doesn't show up in the list of items. Is there a way I am able to add it to a loot table?
Edited by Loza on Sun, 08/16/2020 - 04:44
Sorry to be getting to you so late, but to quote @TheReallyFatChicken:
"You can't do this with the MCreator software. However, it is quite easy to do by making your loot table, then changing the code (the ID would be enchanted_book{StoredEnchantments:[{id:*name_of_mod*:*name_of_enchantment*,lvl:1}]} (delete the *'s in there as well).
For example, with a custom curse from my mod, I would do enchanted_book{StoredEnchantments:[{id:brine:drowning_curse,lvl:1}]}"