Closed PixelatedBruh closed 3 years ago
You can fix this by editing the enchantments from loot tables that use the minecraft enchant_randomly
function
I had to edit like 200 chest loot tables from minecraft and other mods D:
You should extract all your mods into a folder then locate all the loot tables using the "enchant_randomly" function (you can get the minecraft vanilla loot tables from the minecraft jar file), then edit all the loot tables manually or with a text replacer. It's pretty tedious but it does the job.
Note: you need to specify a list of enchantments for every item (sword, chestplate, pickaxe, etc). Otherwise you'll be getting sharpness on your boots lol
edit: You need to create a datapack to overwrite the loot tables with the ones you modified. I'm currently using KubeJS cause it's easier but creating a datapack works. Remember that for the datapack/KubeJS-data you need to follow the same folder structure as the one included inside the mod/minecraft's respective jar file
Looks like I got some work to do
Fixed in latest release, adjusting 200+ loot tables will no longer be required.
I have been saved.
Amazing, thanks.
by the by, be sure to also update hellish materials if you are using it with the latest spellbound version. Flesh Wound and Batet have an undesirable interaction without that update
It is quite annoying to find a book that enchant is disabled. is there a way to change this?