Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.