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

Hi, Im Xetosphere and I keep getting this error when I'm trying out my mod in SMP. Please Help me.

 

 

[iNFO] Starting minecraft server version 1.4.4

[iNFO] Loading properties

[iNFO] Default game type: SURVIVAL

[iNFO] Generating keypair

[iNFO] Starting Minecraft server on *:25565

[WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!

[WARNING] The server will make no attempt to authenticate usernames. Beware.

[WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.

[WARNING] To change this, set "online-mode" to "true" in the server.properties file.

[sEVERE] Encountered an unexpected exception LoaderException

cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I

at cpw.mods.fml.common.LoadController.transition(LoadController.java:117)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:652)

at cpw.mods.fml.server.FMLServerHandler.finishServerLoading(FMLServerHandler.java:88)

at cpw.mods.fml.common.FMLCommonHandler.onServerStarted(FMLCommonHandler.java:348)

at net.minecraft.src.DedicatedServer.startServer(DedicatedServer.java:120)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:456)

at net.minecraft.src.ThreadMinecraftServer.run(ThreadMinecraftServer.java:17)

Caused by: java.lang.NoSuchMethodError: net.minecraft.src.ModLoader.addArmor(Ljava/lang/String;)I

at XetosMod.common.XetosMod.load(XetosMod.java:342)

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 cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:440)

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:140)

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:83)

at cpw.mods.fml.common.Loader.initializeMods(Loader.java:651)

... 5 more

[sEVERE] This crash report has been saved to: C:\Users\Mathias\Desktop\Minecraft\MCP\jars\.\crash-reports\crash-2012-11-13_22.54.06-server.txt

 

I can explain how to do it properly.

I'm assuming you already have a proxy set up, if not, go do that now.

 

In your common proxy, add this:

public int addArmor(String armor)
{
    return 0;
}

And in your client proxy, add this:

@Override
public int addArmor(String armor)
{
    return RenderingRegistry.addNewArmourRendererPrefix(armor);
}

 

Now whenever you call ModLoader.addArmor, call proxy.addArmor instead.

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.