Pour le tickHandler et le menu custom, le problème a été traité sur mon forum :
http://www.minecraftforgefrance.fr/showthread.php?tid=308&pid=3198#pid3198
J'ai fini par faire un pack tout fait pour ce qui sont intéressés :
http://dl.mcnanotech.fr/robin4002/mods/Sources/CustomMenu-src.zip
- Télécharger et installer les sources de forge
- Extraire l'archiver dans forge/mcp/src/minecraft/
- Ouvrir eclipse, choisir la workspace forge/mcp/eclipse
- Modifier la classe GuiCustomMainMenu qui se trouve dans fr.minecraftforgefrance.fr.custommenu (Vous pouvez changer le package/nom de classe, ça me dérange pas, il n'y a pas de copyright
- Lancer recompile puis reobfuscate_srg dans forge/mcp.
- Faire une archive du dossier qui se trouve dans forge/mcp/reobf/minecraft (attention, .zip ou .jar et non .rar ou .7z)
- Uploader l'archive dans le dossier mods de son ftp.
---- Minecraft Crash Report ----
// Sorry :(
Time: 11/03/14 00:00
Description: Initializing game
java.lang.SecurityException: SHA1 digest error for assets/minecraft/texts/splashes.txt
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at net.minecraft.client.gui.GuiMainMenu.<init>(GuiMainMenu.java:89)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
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:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)
at java.util.jar.JarVerifier.processEntry(Unknown Source)
at java.util.jar.JarVerifier.update(Unknown Source)
at java.util.jar.JarVerifier$VerifierStream.read(Unknown Source)
at java.io.FilterInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at net.minecraft.client.gui.GuiMainMenu.<init>(GuiMainMenu.java:89)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:519)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
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:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 122139816 bytes (116 MB) / 467140608 bytes (445 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
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 v8.11 FML v6.4.25.923 Minecraft Forge 9.11.1.923 Optifine OptiFine_1.6.4_HD_U_C4 10 mods loaded, 10 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FML{6.4.25.923} [Forge Mod Loader] (minecraftforge-9.11.1.923.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge{9.11.1.923} [Minecraft Forge] (minecraftforge-9.11.1.923.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
PlayerAPI{1.0} [Player API] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
AnimatedPlayer{1.3.0} [Animated Player Mod] (Animated_Player_v1.3.0_mc1.6.4.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
CarpentersBlocks{v1.9.3} [Carpenter's Blocks] (Carpenter's Blocks v1.9.3 - MC 1.6+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Chisel{1.4.9} [Chisel] (chisel-1.6.4-1.4.9fix.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FlansMod{4.0} [Flans Mod] (FlansMod-4.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
mod_SmartMoving{14.5} [Smart Moving] (Smart Moving Universal for ModLoader or Minecraft Forge or MCPC+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
mod_SmartRender{1.1} [Smart Render] (Smart Moving Universal for ModLoader or Minecraft Forge or MCPC+.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Launched Version: 1.6.4-custom
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 Pack: Default
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
java.lang.SecurityException: SHA1 digest error for assets/minecraft/texts/splashes.txt
---- Minecraft Crash Report ----
// Would you like a cupcake?
Time: 11/03/14 15:17
Description: There was a severe problem during mod loading that has caused the game to fail
cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: fr.minecraftforgefrance.client.custommenu.ModCustomMenu
at cpw.mods.fml.common.LoadController.transition(LoadController.java:149)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:473)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:808)
at net.minecraft.client.main.Main.main(SourceFile:101)
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:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: java.lang.ClassNotFoundException: fr.minecraftforgefrance.client.custommenu.ModCustomMenu
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:186)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:61)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:462)
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:313)
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:194)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
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:313)
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:105)
at cpw.mods.fml.common.Loader.loadMods(Loader.java:510)
... 10 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:178)
... 38 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.6.4
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 258431288 bytes (246 MB) / 475004928 bytes (453 MB) up to 954728448 bytes (910 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G
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 v8.11 FML v6.4.25.923 Minecraft Forge 9.11.1.923 Optifine OptiFine_1.6.4_HD_U_C4 11 mods loaded, 11 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{6.4.25.923} [Forge Mod Loader] (minecraftforge-9.11.1.923.jar) Unloaded->Constructed
Forge{9.11.1.923} [Minecraft Forge] (minecraftforge-9.11.1.923.jar) Unloaded->Constructed
PlayerAPI{1.0} [Player API] (minecraft.jar) Unloaded->Constructed
AnimatedPlayer{1.3.0} [Animated Player Mod] (Animated_Player_v1.3.0_mc1.6.4.zip) Unloaded->Constructed
CarpentersBlocks{v1.9.3} [Carpenter's Blocks] (Carpenter's Blocks v1.9.3 - MC 1.6+.zip) Unloaded->Constructed
Chisel{1.4.9} [Chisel] (chisel-1.6.4-1.4.9fix.jar) Unloaded->Constructed
FlansMod{4.0} [Flans Mod] (FlansMod-4.0.jar) Unloaded->Constructed
CustomMenu{1.0.0} [Custom Menu] (reobfuscat.zip) Unloaded->Errored
mod_SmartMoving{14.5} [Smart Moving] (Smart Moving Universal for ModLoader or Minecraft Forge or MCPC+.zip) Unloaded->Constructed
mod_SmartRender{1.1} [Smart Render] (Smart Moving Universal for ModLoader or Minecraft Forge or MCPC+.zip) Unloaded->Constructed