Pam's HarvestCraft

Pam's HarvestCraft

87M Downloads

[1.12.2] Loot Tables

FoxBotGames opened this issue ยท 4 comments

commented

Vaygrim is making a modpack with Spice of life, Pam's Harvestcraft, and some dozen other mods.

As of the latest 1.12 HarvestCraft version the HarvestCraft Loot Tables have an interesting issue.
The food from Harvestcraft appears in loot chests a normal rate however when they are inside a chest's loot table the entire chest gets filled with completely or to near full of ONLY Pam's Food. This so far has only appeared inside Buildings spawned in by the mod Lost Cities (image for example) it has only been run into through these buildings.

this

I can provide mod list if needed, modpack is in too early version to dump Curse link.

commented

Does not only affect Lost Cities loot chests. Also Affects Vanilla loot chests

commented

The harvestcraft foods appear in dungeon chests as the majority of the chest. I found that this is because the loot table files say "chance: 5.0" when this is supposed to be a decimal value. So in this instance (and all of the others, since all of the harvestcraft items in the loot tables have "chance: 5.0") it should be "chance: 0.05" (assuming it was intended to be 5%)

commented

Can anyone point me at the file that needs to edited to fix this?

commented

On closer inspection it appears to be a HungerOverhaul issue:
progwml6/HungerOverhaul#134

It can be disabled entirely in the HungerOverhaul config. It is not possible to properly fix via config file due to the loot value being an integer not a float.