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

I have already recompiled and reobfuscated the mod and put the files in their respective locations, and I can't seem to get my server running.  I end up getting this error when I start it up.

 

---- Minecraft Crash Report ----
// Ooh. Shiny.

Time: 10/13/12 12:30 AM
Description: Exception in server tick loop

java.lang.NoSuchMethodError: ModLoader.addArmor(Ljava/lang/String;)I
at basspro.bassmod.common.BassProMod.<clinit>(BassProMod.java:103)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)
at com.google.common.eventbus.EventBus.post(EventBus.java:268)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:81)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:458)
at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:80)
at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:329)
at ft.b(DedicatedServer.java:49)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431)
at ep.run(SourceFile:539)

Relevant Details:
- Minecraft Version: 1.3.2
- Operating System: Windows 7 (amd64) version 6.1
- Java Version: 1.6.0_35, Sun Microsystems Inc.
- Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
- Memory: 971100960 bytes (926 MB) / 1029046272 bytes (981 MB) up to 1908932608 bytes (1820 MB)
- JVM Flags: 2 total; -Xmx2048M -Xms1024M
- FML: ~ERROR~ NullPointerException: null
- Is Modded: Definitely; 'forge,fml'
- Profiler Position: N/A (disabled)
- Type: Dedicated Server

 

What could be causing it to do this?

  • Author

I think I may have found the problem.

 

public static final Item rubyHelmet = new ItemGemHelmet(5050, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 0).setItemName("helmetRuby").setIconIndex(12);
public static final Item rubyPlate = new ItemGemPlate(5051, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 1).setItemName("plateRuby").setIconIndex(28);
public static final Item rubyLegs = new ItemGemLegs(5052, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 2).setItemName("legsRuby").setIconIndex(44);
public static final Item rubyBoots = new ItemGemBoots(5053, EnumArmorMaterialGem, ModLoader.addArmor("ruby"), 3).setItemName("bootsRuby").setIconIndex(60);

public static final Item onyxHelmet = new ItemOnyxHelmet(5054, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 0).setItemName("helmetOnyx").setIconIndex(13);
public static final Item onyxPlate = new ItemOnyxPlate(5055, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 1).setItemName("plateOnyx").setIconIndex(29);
public static final Item onyxLegs = new ItemOnyxLegs(5056, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 2).setItemName("legsOnyx").setIconIndex(45);
public static final Item onyxBoots = new ItemOnyxBoots(5057, EnumArmorMaterialOnyx, ModLoader.addArmor("onyx"), 3).setItemName("bootsOnyx").setIconIndex(61);

public static final Item sapphireHelmet = new ItemSapphireHelmet(5058, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 0).setItemName("helmetSapphire").setIconIndex(14);
public static final Item sapphirePlate = new ItemSapphirePlate(5059, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 1).setItemName("plateSapphire").setIconIndex(30);
public static final Item sapphireLegs = new ItemSapphireLegs(5060, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 2).setItemName("legsSapphire").setIconIndex(46);
public static final Item sapphireBoots = new ItemSapphireBoots(5061, EnumArmorMaterialGem, ModLoader.addArmor("sapphire"), 3).setItemName("bootsSapphire").setIconIndex(62);

 

I need to replace those ModLoader methods with Forge methods, but I have no idea what the Forge methods are for that.

  • Author

I would like to get my mod working on a server today to test with some people, so if anyone could help, that would be great.

You're calling a client side only function on the server.. stop it.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.