Mod Mod qui fait crash

Tomikaddle

Apprenti Batcheur
7 Juin 2014
314
5
129
Bon. J'ai récemment fait un mod avec Eclipse: nouveau items et nouvelles armes.
Le mod est pour Minecraft 1.7.2. Forge

Dans Eclipse:

Je l'export en choisissant:

File / Export / Java / JarFile / "Je coche - 'src/main/java' et ' src/main/ressources"
- Ainsi que: Export Generated class files and ressources ( Juste en dessous)
- Je choisis l'endroit ou le mod sera exporté ( Sur le Bureau )
- Et dans Options, je coche: Compress the contents of the JAR file.


Voilà donc après je met je fichier .jar généré sur mon bureau dans .minecraft\mods

Je lance mon jeu et là mon jeu crash, pourquoi ?
 
Voici le crash:





---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 18/06/14 19:38
Description: Initializing game

java.lang.NoSuchFieldError: tabCombat
at com.buckzor.ArbreFruitier.tools.DagueAmethyste.<init>(DagueAmethyste.java:12)
at com.buckzor.ArbreFruitier.BuckzorMod.<clinit>(BuckzorMod.java:140)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420)
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:47)
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:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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:47)
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:118)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
at net.minecraft.client.main.Main.main(SourceFile:103)
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 net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at com.buckzor.ArbreFruitier.tools.DagueAmethyste.<init>(DagueAmethyste.java:12)
at com.buckzor.ArbreFruitier.BuckzorMod.<clinit>(BuckzorMod.java:140)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:420)
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:47)
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:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
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:47)
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:118)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:204)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:467)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815)
at net.minecraft.client.main.Main.main(SourceFile:103)
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 net.minecraft.launchwrapper.Launch.launch(Launch.java:134)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

-- System Details --
Details:
Minecraft Version: 1.7.2
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_60, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 392703208 bytes (374 MB) / 740818944 bytes (706 MB) up to 14316732416 bytes (13653 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx15G
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.03 FML v7.2.209.1112 Minecraft Forge 10.12.1.1112 Optifine OptiFine_1.7.2_HD_D1 24 mods loaded, 24 mods active
mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{7.2.209.1112} [Forge Mod Loader] (forge-1.7.2-10.12.1.1112.jar) Unloaded->Constructed
Forge{10.12.1.1112} [Minecraft Forge] (forge-1.7.2-10.12.1.1112.jar) Unloaded->Constructed
TooManyItems{1.7.2} [TooManyItems] (minecraft.jar) Unloaded->Constructed
bspkrsCore{6.11} [bspkrsCore] ([1.7.2]bspkrsCore-universal-6.11.jar) Unloaded->Constructed
DamageIndicatorsMod{3.1.2} [Damage Indicators] ([1.7.2]DamageIndicatorsMod-3.1.2.jar) Unloaded->Constructed
BiblioCraft{1.7.1} [BiblioCraft] (BiblioCraft-Mod-1.7.2.jar) Unloaded->Constructed
buckzor{1.0} [buckzor] (buckzor.jar) Unloaded
craftguide{1.6.8.1} [CraftGuide] (CraftGuide-1.6.8.1.zip) Unloaded
CavesAPI{1.0} [Caves API] (Elemental.Caves-1.7.2-1.1.3.jar) Unloaded
ElementalCaves{1.7.2-1.1.3} [Elemental Caves] (Elemental.Caves-1.7.2-1.1.3.jar) Unloaded
eplus{1.7.2-2.0.1.6} [Enchanting Plus] (EnchantingPlus-1.7.2-2.0.1.6.jar) Unloaded
Highlands{2.2.0pre3} [Highlands] (Highlands-1.7.2-v-2.2.0pre4.jar) Unloaded
HoloInventory{1.8.2.74} [HoloInventory] (HoloInventory-1.8.2.74.jar) Unloaded
inventorytweaks{1.57-116} [Inventory Tweaks] (Inventory-Tweaks-Mod-1.7.2.jar) Unloaded
IronChest{6.0.4.713} [Iron Chest] (Iron-Chests-Mod-1.7.2.jar) Unloaded
MoreSwordsMod{2.6.1} [More Swords Mod] (More Swords Mod 2.6.1 For 1.7.2.jar) Unloaded
MoreEnchants{1.3.0} [MoreEnchants] (MoreEnchants-MC1.7-1.3.1.jar) Unloaded
pda{1.7.2} [Plus d'aliments] (Plus daliments-1.7.2.jar.zip) Unloaded
quiverchevsky{b45} [QuiverBow] (QuiverBow_1.7.2_b45.zip) Unloaded
Reptilemod{1.1} [Reptile Mod] (Reptile Mod-1.1.jar.zip) Unloaded
SlimevoidLib{2.0.4.6} [Slimevoid Library] (SlimevoidLibrary-2.0.4.6.jar) Unloaded
weaponmod{1.7.2 v1.14.2} [Balkon's WeaponMod] (weaponmod-1.14.2.jar) Unloaded
WirelessRedstoneCore{1.8.0.0} [Wireless Redstone] (WirelessRedstoneCore-1.8.0.0.jar) Unloaded
Launched Version: 1.7.2-Forge10.12.1.1112
LWJGL: 2.9.0
OpenGL: GeForce GT 630/PCIe/SSE2 GL version 4.4.0, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [R3DCraft 512x512]
Current Language: English (UK)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)
 
Déjà, je te conseille de tester ton mod sans les autres mods, ensuite a vu de nez, je dirais que ça beug ici:
FML{7.2.209.1112} [Forge Mod Loader] (forge-1.7.2-10.12.1.1112.jar) Unloaded->Constructed
Forge{10.12.1.1112} [Minecraft Forge] (forge-1.7.2-10.12.1.1112.jar) Unloaded->Constructed
TooManyItems{1.7.2} [TooManyItems] (minecraft.jar) Unloaded->Constructed
bspkrsCore{6.11} [bspkrsCore] ([1.7.2]bspkrsCore-universal-6.11.jar) Unloaded->Constructed
DamageIndicatorsMod{3.1.2} [Damage Indicators] ([1.7.2]DamageIndicatorsMod-3.1.2.jar) Unloaded->Constructed
BiblioCraft{1.7.1} [BiblioCraft] (BiblioCraft-Mod-1.7.2.jar) Unloaded->Constructed
buckzor{1.0} [buckzor] (buckzor.jar) Unloaded

Après en eclipse je ne m'y connais pas du tout, cependant avec mes nombreux launchers je suis habitués a voir ce genre d'erreur.

Cordialement xBlenn412.