Posted February 22, 20178 yr Hello world. Another error I don't understand, but may be easy to solve if knowing how forge works. When starting the mod on forge 2228 in IDE everything is fine, but if its loaded in the client I get There was a severe problem during mod loading that has caused the game to fail net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Ancient Trees (dendrology) Caused by: java.lang.NoSuchFieldError: CHESTS_VILLAGE_BLACKSMITH CHESTS_VILLAGE_BLACKSMITH is a static field from the LootTableList, which definitely does exist. Code where the error is thrown: final Map<ResourceLocation, Integer> map = Maps.newHashMap(); map.put(CHESTS_VILLAGE_BLACKSMITH, 0); map.put(CHESTS_SPAWN_BONUS_CHEST, 0); map.put(CHESTS_DESERT_PYRAMID, 1); map.put(CHESTS_SIMPLE_DUNGEON, 1); map.put(CHESTS_JUNGLE_TEMPLE, 1); map.put(CHESTS_JUNGLE_TEMPLE_DISPENSER, 0); map.put(CHESTS_ABANDONED_MINESHAFT, 1); map.put(CHESTS_STRONGHOLD_CORRIDOR, 1); map.put(CHESTS_STRONGHOLD_CROSSING, 1); map.put(CHESTS_STRONGHOLD_LIBRARY, 1); map.put(CHESTS_END_CITY_TREASURE, 5); map.put(CHESTS_NETHER_BRIDGE, 5); map.put(CHESTS_IGLOO_CHEST, 1); return map; It seems that none of these Fields exist in client. If I remove CHESTS_VILLAGE_BLACKSMITH, I get the same error on CHESTS_SPAWN_BONUS_CHEST ... Edited February 23, 20178 yr by TheA13X Sincerely, A13XIS
February 23, 20178 yr Author Oh, sorry. I used the wrong jars. Starting the mod with the obfuscated versions worked. Sincerely, A13XIS
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.