a3626a / HungryAnimals

Minecraft mod hungry animals
12 stars 2 forks source link

The game crashes when opening or creating a world #41

Closed ZapikCZ closed 5 years ago

ZapikCZ commented 6 years ago

Forge version: forge-14.23.4.2713 Hungry Animals version: hungryanimals-1.12.2-5.4.5.0 (Beta) with both the hungryanimals or hungryanimals-example config Hungry Mechanics version: hungrymechanics-1.12.2-5.3.0.1 (Beta) with the vanilla config Using the Twitch Launcher

Crash report: https://pastebin.com/GwAmN4uz

The LootTweaker mod hasn't been configured, removing it doesn't solve the proble either.

a3626a commented 6 years ago

Hungry Mechanics needs updated. I am working on it.

a3626a commented 6 years ago

https://minecraft.curseforge.com/projects/hungryanimals/files https://minecraft.curseforge.com/projects/hungry-mechanics/files

ZapikCZ commented 6 years ago

That crash has been fixed, but the game still crashes when the world isn't a superflat one.

Pastebin of the new crashlog: https://pastebin.com/ZzfsQb7x

Hungry Animals and Hungry Mechanics: 5.4.0.0

wenlfs commented 6 years ago

I'm having the same crash when creating a new world, but it only happen when using other mods. I'm able to play with only Hungry animals and once happened that it didn't crash when using other mods. I'm using the default config

Log: https://pastebin.com/8x7xw6iX

Hungry Animals: 1.12.2-5.4.6 Forge: 14.23.4.2759

LemADEC commented 5 years ago

Any chance we get a fix for this?

a3626a commented 5 years ago

@LemADEC Can you post crash logs?

LemADEC commented 5 years ago

I was just evaluating the mod for a new modpack, since that issue is a show stopper, I didn't even try to load the mod.

Rimevel commented 5 years ago

Also got problems with creating a world. https://paste.dimdev.org/atapaverah.mccrash

a3626a commented 5 years ago

It is a conflict with BetterWithMods. Thanks to @Rimevel and @wenlfs .

Solution 1 (to disable BetterWithMods' loot table)

Turning off llama drop tweak of BetterWithMods will fix it.

    # Add mutton to Llama drops
    B:LlamaDrops=false

Solution 2 (to disable HA's loot table)

Create a file config/hungryanimals/loot_tables/minecraft/llama.json. Then make it empty.

{
}

I recommend solution 1, because HA provides much powerful function to modify loot tables. You can add mutton using HungryAnimals' loot table config and you can even modify drop amount based on the animal's weight. (I will also update HungryAnimals not to crash, just to print warning messages for this.)