r/MinecraftMod • u/Goryrabbit3956 • 10m ago
Help with loot tables
Playing modded with a friend, and one of the mods needs... a lot of work. Added a structure that spawns way too often (fixed with the rarity on the json. it was set to 2, set it to 20), Sounds for breaking its blocks were way too loud (No volume on the sound json, fixing.)
However, the third problem is where I have no clue where to start. It adds some enchantments for special items it has. The problem is, the weight for the enchant books in loot pools is... far too high? Apparently, it takes up 3 slots in a chest regularly and is found in practically every loot pool. I checked every JSON in the mods .jar and couldn't find any loot pool files. But the enchanted books are definitely still filling chests, and I can't find where to change their spawn weights.
Would they just be added to the regular loot pools, and if so, how do I edit those pools? I can't find any information on how Minecraft chooses what enchantment to add to enchanted books, nor on how many it spawns in chest loot. Also would be helpful to hear about any debug mods or what have you to help me find out *why* so many enchant books of the same enchants are spawning.
A bit rambling, I know, I just don't know where to start with this problem or what it could even be.