Jump to content

I've got an Error - but only in a "live environment"


Recommended Posts

Posted (edited)

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 ...

o.O

Edited by TheA13X

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.