Mod Log: NoSuchMethodError: set.UnlocalizedName

  • Auteur de la discussion Auteur de la discussion Bart571
  • Date de début Date de début

Bart571

Aventurier
15 Décembre 2012
10
0
1
75
Salut à tous !

Je suis actuellement entrain de faire un petit mod, il fonctionne parfaitement quand je lance Minecraft avec Eclipse, mais quand je le met dans le dossier mods de mon .minecraft, j'obtiens un joli "Minecraft has crashed" avec comme log:

Code:
---- Minecraft Crash Report ----
// Quite honestly, I wouldn't worry myself about that.
 
Time: 07/08/13 15:26
Description: Failed to start game
 
cpw.mods.fml.common.LoaderException: java.lang.NoSuchMethodError: net.minecraft.item.Item.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item;
at cpw.mods.fml.common.LoadController.transition(LoadController.java:147)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:692)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:213)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:448)
at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
at net.minecraft.client.Minecraft.run(Minecraft.java:733)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: net.minecraft.item.Item.setUnlocalizedName(Ljava/lang/String;)Lnet/minecraft/item/Item;
at modTutoriel.common.ModTutoriel.load(ModTutoriel.java:47)
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:494)
at sun.reflect.GeneratedMethodAccessor6.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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:192)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:172)
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:74)
at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
at com.google.common.eventbus.EventBus.post(EventBus.java:267)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:103)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:691)
... 5 more
 
 
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
 
-- System Details --
Details:
Minecraft Version: 1.5.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 480413616 bytes (458 MB) / 666763264 bytes (635 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.51 FML v5.2.23.738 Minecraft Forge 7.8.1.738 16 mods loaded, 16 mods active
mcp{7.51} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized
FML{5.2.23.738} [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
Forge{7.8.1.738} [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized
GuiAPI{0.15.6} [GuiAPI] (GuiAPI-0.15.6-1.5.2.jar) Unloaded->Constructed->Pre-initialized->Initialized
mod_ReiMinimap{v3.3_06 [1.5.2]} [mod_ReiMinimap] ([1.5.2]ReiMinimap_v3.3_06.zip) Unloaded->Constructed->Pre-initialized->Initialized
modTutoriel{1.0.0} [More tools & armors] (ArmorRed v4.zip) Unloaded->Constructed->Pre-initialized->Errored
Backpack{1.12.15} [Backpack] (backpack-1.12.15-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized
craftmymod1{1.0.1} [Craft My Mod - CMM 1.0.1] (Craft My Mod 1.0.1 - Minecraft 1.5.1 - FML 7.7.zip) Unloaded->Constructed->Pre-initialized->Initialized
craftguide{1.5.2} [CraftGuide] (CraftGuide-1.6.7.3.zip) Unloaded->Constructed->Pre-initialized->Initialized
CustomSpawner{2.2.3.d1} [DrZhark's CustomSpawner] (CustomMobSpawner 2.2.3 DEV-R1.zip) Unloaded->Constructed->Pre-initialized->Initialized
MoCreatures{5.2.4.d1} [DrZhark's Mo'Creatures Mod] (DrZharks MoCreatures Mod v5.2.4 DEV-R1.zip) Unloaded->Constructed->Pre-initialized->Initialized
EasyRecipe{1.2.1} [Easy Recipe] (EasyRecipe-universal-1.2.1.zip) Unloaded->Constructed->Pre-initialized->Initialized
inventorytweaks{1.54b} [Inventory Tweaks] (inventorytweaks-1.54b.jar) Unloaded->Constructed->Pre-initialized->Initialized
MoreFurnaces{1.3.4c} [More Furnaces] (More-Furnaces-Mod-1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized
MutantCreatures{1.3.4} [Mutant Creatures] (Mutant Creatures v1.3.4 mc1.5.2.zip) Unloaded->Constructed->Pre-initialized->Initialized
NewRecipe{1.3.1} [New Recipe] (NewRecipe-universal-1.3.1.zip) Unloaded->Constructed->Pre-initialized->Initialized
LWJGL: 2.4.2
OpenGL: AMD Radeon HD 7800 Series GL version 4.2.12337 Compatibility Profile Context 13.101.0.0, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

J'ai déjà changé de version de forge plusieurs fois, la latest ainsi que la recommanded ne fonctionne pas.

Je comprends bien que ca va du UnlocalizedName mais je ne vois pas comment le changer.