Invadermonky / JustEnoughMagiculture

MIT License
1 stars 0 forks source link

`debug.log` warnings and errors. #4

Open Krutoy242 opened 8 months ago

Krutoy242 commented 8 months ago

I found this errors and warnings in my debug.log file. When I removed JEM they disapear. So since they are not directly mention JEM, i suspect that it is the cause.

Order of errors preserved, but they appear in different parts of log file.

[Client thread/WARN] [net.minecraft.world.storage.loot.LootTableManager]: Couldn't find resource table betteranimalsplus:pheasant

[Client thread/WARN] [net.minecraft.world.storage.loot.LootTableManager]: Couldn't find resource table betteranimalsplus:turkey

[Client thread/WARN] [net.minecraft.world.storage.loot.functions.Smelt]: Couldn't smelt 1xitem.frog_leg@0 because there is no smelting recipe

[Client thread/ERROR] [net.minecraft.world.storage.loot.LootTableManager]: Couldn't load loot table twilightforest:structures/graveyard/rare from jar:file:/E:/mc/packs/E2E-E/minecraft/mods/twilightforest-1.12.2-3.11.1021-universal-patched.jar!/assets/twilightforest/loot_tables/structures/graveyard/rare.json
com.google.gson.JsonSyntaxException: Expected name to be an item, was unknown string 'twilightforest:golden_apple'
    at net.minecraft.util.JsonUtils.getItem(SourceFile:124) ~[rc.class:?]
    at net.minecraft.util.JsonUtils.getItem(SourceFile:135) ~[rc.class:?]
    at net.minecraft.world.storage.loot.LootEntryItem.deserialize(LootEntryItem.java:83) ~[bfp.class:?]
  [...]

debug-1.log.gz

What does this errors means? Is they actually related to JEM or its false alarm? Is some JEM features not working for me?

Invadermonky commented 8 months ago

I believe this issue may have something to do with mods that are being patched with bansoukou. JEM uses JER's loot table manager whenever possible and sometimes uses Minecraft's built-in Loot Table handler for certain drop interactions.

The error that you are seeing looks to be caused by missing resources locations when injecting loot into dungeon tables. The error is caused by the LootTableManager attempting to parse the loot table json and encountering an item that doesn't exist.

Can you check to see if this jar fixes the issue? justenoughmagiculture-1.12.2-1.1.4.jar.zip

Krutoy242 commented 8 months ago

Sure, i will test it later.

Krutoy242 commented 7 months ago

I tested new file. All errors are still there except this one, its gone:

Couldn't smelt 1xitem.frog_leg@0 because there is no smelting recipe

debug.log