This is my first attempt at trying to create a mod. I've made a very simple mod that adds one block. Eclipse showed no errors so I tried to run it. It loaded until the 'mojang screen' and then crashes with the following error:
6:52:00] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[16:52:00] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[16:52:00] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[16:52:00] [main/INFO]: Forge Mod Loader version 7.2.116.1024 for Minecraft 1.7.2 loading
[16:52:00] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_25, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7
[16:52:00] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:52:00] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:52:00] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[16:52:00] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:52:00] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:52:00] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:52:01] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:52:19] [main/ERROR]: The minecraft jar file:/C:/Users/Dan/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
[16:52:19] [main/ERROR]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
[16:52:19] [main/ERROR]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Dan/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.0.1024/forgeBin-1.7.2-10.12.0.1024.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
[16:52:19] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[16:52:19] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:52:19] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[16:52:31] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[16:52:58] [main/INFO]: Setting user: Player13
[16:53:06] [Client thread/INFO]: LWJGL Version: 2.9.0
[16:53:07] [Client thread/INFO]: Attempting early MinecraftForge initialization
[16:53:08] [Client thread/INFO]: MinecraftForge v10.12.0.1024 Initialized
[16:53:08] [Client thread/INFO]: Replaced 128 ore recipies
[16:53:08] [Client thread/INFO]: Completed early MinecraftForge initialization
[16:53:08] [Client thread/INFO]: Searching C:\Users\Dan\Desktop\Forge\eclipse\mods for mods
[16:53:20] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
[16:53:20] [Client thread/ERROR]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.Start. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
[16:53:28] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load
[16:53:28] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:PiffM
[16:53:32] [Client thread/WARN]: The mod FMLMod:PiffM{1.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.
[16:53:32] [Client thread/INFO]: Configured a dormant chunk cache size of 0
Starting up SoundSystem...
Initializing LWJGL OpenAL
(The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
OpenAL initialized.
[16:53:37] [sound Library Loader/INFO]: Sound engine started
---- Minecraft Crash Report ----
// My bad.
Time: 21/02/14 16:53
Description: Initializing game
java.lang.NoClassDefFoundError: com/ibm/icu/text/ArabicShapingException
at net.minecraft.client.Minecraft.startGame(Minecraft.java:502)
at net.minecraft.client.Minecraft.run(Minecraft.java:850)
at net.minecraft.client.main.Main.main(Main.java: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)
Caused by: java.lang.ClassNotFoundException: com.ibm.icu.text.ArabicShapingException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 9 more
Caused by: java.lang.NullPointerException
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:180)
... 11 more
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraft.client.Minecraft.startGame(Minecraft.java:502)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:850)
at net.minecraft.client.main.Main.main(Main.java: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_25, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 979862576 bytes (934 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
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.01-pre FML v7.2.116.1024 Minecraft Forge 10.12.0.1024 4 mods loaded, 4 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{7.2.116.1024} [Forge Mod Loader] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized
Forge{10.12.0.1024} [Minecraft Forge] (forgeBin-1.7.2-10.12.0.1024.jar) Unloaded->Constructed->Pre-initialized
PiffM{1.0} [PiffM] (bin) Unloaded->Constructed->Pre-initialized
Launched Version: 1.6
LWJGL: 2.9.0
OpenGL: GeForce 7025 / nForce 630a/integrated/SSE2 GL version 2.1.2, NVIDIA Corporation
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: []
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
Anisotropic Filtering: Off (1)
#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Dan\Desktop\Forge\eclipse\.\crash-reports\crash-2014-02-21_16.53.37-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
I've tried to understand the error but it doesn't make any sense.
What should I do?