Jump to content

Null exception[solved]\ Missing block[Needs solving]


majesticmadman98

Recommended Posts

First test of this mod (stupidly) so i don't know which segment is causing the problems.

if you can pin point the line and class.

 

 

Feb 22, 2014 5:57:16 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Feb 22, 2014 5:57:16 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

Feb 22, 2014 5:57:16 PM net.minecraft.launchwrapper.LogWrapper log

INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Java is Java HotSpot Client VM, version 1.7.0_45, running on Windows 7:x86:6.1, installed at C:\Program Files (x86)\Java\jre7

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

2014-02-22 17:57:16 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

2014-02-22 17:57:16 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg

2014-02-22 17:57:16 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!

2014-02-22 17:57:18 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

2014-02-22 17:57:18 [iNFO] [sTDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg

2014-02-22 17:57:18 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

2014-02-22 17:57:18 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}

2014-02-22 17:57:20 [iNFO] [Minecraft-Client] Setting user: Player657

2014-02-22 17:57:21 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0

2014-02-22 17:57:23 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default

2014-02-22 17:57:25 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization

2014-02-22 17:57:25 [iNFO] [sTDOUT] MinecraftForge v9.11.1.965 Initialized

2014-02-22 17:57:25 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized

2014-02-22 17:57:25 [iNFO] [sTDOUT] Replaced 111 ore recipies

2014-02-22 17:57:26 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization

2014-02-22 17:57:26 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Matt\Desktop\MC MODDING EQUIPMENT\Mods\Forge 1.6.4\Army\mcp\jars\config\logging.properties

2014-02-22 17:57:26 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL

2014-02-22 17:57:26 [iNFO] [ForgeModLoader] Searching C:\Users\Matt\Desktop\MC MODDING EQUIPMENT\Mods\Forge 1.6.4\Army\mcp\jars\mods for mods

2014-02-22 17:57:30 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

2014-02-22 17:57:30 [iNFO] [mcp] Activating mod mcp

2014-02-22 17:57:30 [iNFO] [FML] Activating mod FML

2014-02-22 17:57:30 [iNFO] [Forge] Activating mod Forge

2014-02-22 17:57:30 [iNFO] [Army] Activating mod Army

2014-02-22 17:57:30 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well

2014-02-22 17:57:30 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well

2014-02-22 17:57:30 [WARNING] [Army] Mod Army is missing a pack.mcmeta file, things may not work well

2014-02-22 17:57:30 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Army

2014-02-22 17:57:30 [iNFO] [ForgeModLoader] Registering Forge Packet Handler

2014-02-22 17:57:30 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [WARNING] [ForgeModLoader] The mod FMLMod:Army{1.0.0} is attempting to register a block whilst it it being constructed. This is bad modding practice - please use a proper mod lifecycle event.

2014-02-22 17:57:31 [sEVERE] [com.google.common.eventbus.EventBus.Army] Could not dispatch event: cpw.mods.fml.common.event.FMLConstructionEvent@f9290d to handler [wrapper public void cpw.mods.fml.common.FMLModContainer.constructMod(cpw.mods.fml.common.event.FMLConstructionEvent)]

java.lang.reflect.InvocationTargetException

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

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

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

at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

at net.minecraft.client.Minecraft.run(Minecraft.java:808)

at net.minecraft.client.main.Main.main(Main.java:93)

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.StringIndexOutOfBoundsException: String index out of range: 8

at java.lang.String.charAt(Unknown Source)

at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:210)

at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:245)

at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:240)

at a.army.main.<init>(main.java:115)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

... 32 more

2014-02-22 17:57:31 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from CONSTRUCTING to PREINITIALIZATION. Loading cannot continue

2014-02-22 17:57:31 [sEVERE] [ForgeModLoader]

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed

Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed

Army{1.0.0} [Army] (bin) Unloaded->Errored

2014-02-22 17:57:31 [sEVERE] [ForgeModLoader] The following problems were captured during this phase

2014-02-22 17:57:31 [sEVERE] [ForgeModLoader] Caught exception from Army

java.lang.StringIndexOutOfBoundsException: String index out of range: 8

at java.lang.String.charAt(Unknown Source)

at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:210)

at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:245)

at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:240)

at a.army.main.<init>(main.java:115)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

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

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

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

at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

at net.minecraft.client.Minecraft.run(Minecraft.java:808)

at net.minecraft.client.main.Main.main(Main.java:93)

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)

2014-02-22 17:57:31 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----

2014-02-22 17:57:31 [iNFO] [sTDOUT] // Quite honestly, I wouldn't worry myself about that.

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT] Time: 22/02/14 17:57

2014-02-22 17:57:31 [iNFO] [sTDOUT] Description: Initializing game

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT] java.lang.StringIndexOutOfBoundsException: String index out of range: 8

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.String.charAt(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:210)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:245)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:240)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at a.army.main.<init>(main.java:115)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Constructor.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.Class.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:

2014-02-22 17:57:31 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT] -- Head --

2014-02-22 17:57:31 [iNFO] [sTDOUT] Stacktrace:

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.String.charAt(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:210)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:245)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:240)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at a.army.main.<init>(main.java:115)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Constructor.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.Class.newInstance(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.ILanguageAdapter$JavaAdapter.getNewInstance(ILanguageAdapter.java:174)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:518)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.loadMods(Loader.java:511)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:183)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:473)

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT] -- Initialization --

2014-02-22 17:57:31 [iNFO] [sTDOUT] Details:

2014-02-22 17:57:31 [iNFO] [sTDOUT] Stacktrace:

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)

2014-02-22 17:57:31 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27)

2014-02-22 17:57:31 [iNFO] [sTDOUT]

2014-02-22 17:57:31 [iNFO] [sTDOUT] -- System Details --

2014-02-22 17:57:31 [iNFO] [sTDOUT] Details:

2014-02-22 17:57:31 [iNFO] [sTDOUT] Minecraft Version: 1.6.4

2014-02-22 17:57:31 [iNFO] [sTDOUT] Operating System: Windows 7 (x86) version 6.1

2014-02-22 17:57:31 [iNFO] [sTDOUT] Java Version: 1.7.0_45, Oracle Corporation

2014-02-22 17:57:31 [iNFO] [sTDOUT] Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

2014-02-22 17:57:31 [iNFO] [sTDOUT] Memory: 865552960 bytes (825 MB) / 1046937600 bytes (998 MB) up to 1046937600 bytes (998 MB)

2014-02-22 17:57:31 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

2014-02-22 17:57:31 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

2014-02-22 17:57:31 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed

2014-02-22 17:57:31 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

2014-02-22 17:57:31 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active

2014-02-22 17:57:31 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

2014-02-22 17:57:31 [iNFO] [sTDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed

2014-02-22 17:57:31 [iNFO] [sTDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed

2014-02-22 17:57:31 [iNFO] [sTDOUT] Army{1.0.0} [Army] (bin) Unloaded->Errored

2014-02-22 17:57:31 [iNFO] [sTDOUT] Launched Version: 1.6

2014-02-22 17:57:31 [iNFO] [sTDOUT] LWJGL: 2.9.0

2014-02-22 17:57:31 [iNFO] [sTDOUT] OpenGL: GeForce 9800 GTX/9800 GTX+/PCIe/SSE2 GL version 3.3.0, NVIDIA Corporation

2014-02-22 17:57:31 [iNFO] [sTDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge'

2014-02-22 17:57:31 [iNFO] [sTDOUT] Type: Client (map_client.txt)

2014-02-22 17:57:31 [iNFO] [sTDOUT] Resource Pack: Default

2014-02-22 17:57:31 [iNFO] [sTDOUT] Current Language: English (US)

2014-02-22 17:57:31 [iNFO] [sTDOUT] Profiler Position: N/A (disabled)

2014-02-22 17:57:31 [iNFO] [sTDOUT] Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

2014-02-22 17:57:31 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Matt\Desktop\MC MODDING EQUIPMENT\Mods\Forge 1.6.4\Army\mcp\jars\.\crash-reports\crash-2014-02-22_17.57.31-client.txt

 

 

 

 

Link to comment
Share on other sites

The report says what the error is, you're trying to call part of an array that doesn't exist. Plus, since I don't see any code, we can't help you.

if (user.hasKnowledgeOfJava) {

    if (user.question.hasCode) {

        return interpetHelpfulResponse(user.getQuestion());

    } else {

        return "Could you post your code please?";

    }

} else {

    return "Learn some freaking Java!";

}

Link to comment
Share on other sites

okay here:

 

main

 

package a.army;

 

import net.minecraft.block.Block;

import net.minecraft.block.BlockHalfSlab;

import net.minecraft.block.material.Material;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.Item;

import net.minecraft.item.ItemSlab;

import net.minecraft.item.ItemStack;

import cpw.mods.fml.client.registry.ClientRegistry;

import cpw.mods.fml.common.Mod;

import cpw.mods.fml.common.Mod.EventHandler;

import cpw.mods.fml.common.event.FMLPostInitializationEvent;

import cpw.mods.fml.common.network.NetworkMod;

import cpw.mods.fml.common.registry.GameRegistry;

import cpw.mods.fml.common.registry.LanguageRegistry;

 

//mod info

@Mod(modid = "Army", name = "Army", version = "1.0.0")

//client server

@NetworkMod(clientSideRequired = true, serverSideRequired = false)

 

public class main {

 

public static Block sandbagS;

public static Block sandbag;

public static Block concrete;

public static Block Rconcrete;

public static Block Bwire;

public static Block Dnet;

public static Block Snet;

public static Block Gnet;

public static Block Dcamo;

public static Block Scamo;

public static Block Gcamo;

public static Block Rglass;

public static Block girder;

 

 

public static Item Bag;

public static Item wire;

public static Item net;{

 

//block settings

sandbagS = new a.army.sandbagS(4000, false, Material.rock).setUnlocalizedName("Army:sandbagS");

sandbag = new a.army.sandbag(4001, Material.rock).setUnlocalizedName("Army:sandbag");

concrete = new a.army.concrete(4002, Material.rock).setUnlocalizedName("Army:concrete");

Rconcrete = new a.army.Rconcrete(4003, Material.rock).setUnlocalizedName("Army:Rconcrete");

Bwire = new a.army.Bwire(4004, Material.rock).setUnlocalizedName("Army:Bwire");

Dnet = new a.army.Dnet(4005, Material.rock).setUnlocalizedName("Army:Dnet");

Snet = new a.army.Snet(4006, Material.rock).setUnlocalizedName("Army:Snet");

Gnet = new a.army.Gnet(4007, Material.rock).setUnlocalizedName("Army:Gnet");

Dcamo = new a.army.Dcamo(4008, Material.rock).setUnlocalizedName("Army:Dcamo");

Scamo = new a.army.Scamo(4009, Material.rock).setUnlocalizedName("Army:Scamo");

Gcamo = new a.army.Gcamo(4010, Material.rock).setUnlocalizedName("Army:Gcamo");

Rglass = new a.army.Rglass(4011, Material.rock).setUnlocalizedName("Army:Rglass");

girder = new a.army.girders(4012, Material.rock).setUnlocalizedName("Army:gurdur");

 

 

 

//Item Settings

Bag = new a.army.Bag(5000).setUnlocalizedName("Army:Bag");

wire = new a.army.wire(5001).setUnlocalizedName("Army:wire");

net = new a.army.net(5002).setUnlocalizedName("Army:net");

 

 

 

//register

GameRegistry.registerItem(Bag, "Bag");

GameRegistry.registerItem(wire, "wire");

GameRegistry.registerItem(net, "net");

 

LanguageRegistry.addName(Bag, "Bag");

LanguageRegistry.addName(wire, "Wire");

LanguageRegistry.addName(net, "Net");

 

GameRegistry.registerTileEntity(TileEntityGirder.class, "girder");

ClientRegistry.bindTileEntitySpecialRenderer(TileEntityGirder.class, new GirderRender());

 

GameRegistry.registerBlock(sandbagS, "sandbagS");

GameRegistry.registerBlock(sandbag, "sandbag");

GameRegistry.registerBlock(concrete, "concrete");

GameRegistry.registerBlock(Rconcrete, "Rconcrete");

GameRegistry.registerBlock(Bwire, "Bwire");

GameRegistry.registerBlock(Dnet, "Dnet");

GameRegistry.registerBlock(Snet, "Snet");

GameRegistry.registerBlock(Gnet, "Gnet");

GameRegistry.registerBlock(Dcamo, "Dcamo");

GameRegistry.registerBlock(Scamo, "Scamo");

GameRegistry.registerBlock(Gcamo, "Gcamo");

GameRegistry.registerBlock(Rglass, "Rglass");

GameRegistry.registerBlock(girder, "girder");

 

 

LanguageRegistry.addName(sandbagS, "Sandbag");

LanguageRegistry.addName(sandbag, "Double Sandbag");

LanguageRegistry.addName(concrete, "Concrete");

LanguageRegistry.addName(Rconcrete, "Reinforced Concrete");

LanguageRegistry.addName(Bwire, "Barbed Wire");

LanguageRegistry.addName(Dnet, "Dessert Camo Net");

LanguageRegistry.addName(Snet, "Snow Camo Net");

LanguageRegistry.addName(Gnet, "Grass Camo Net");

LanguageRegistry.addName(Dcamo, "Desert Camo Block");

LanguageRegistry.addName(Scamo, "Snow Camo Block");

LanguageRegistry.addName(Gcamo, "Grass Camo Block");

LanguageRegistry.addName(Rglass, "Reinforced Glass");

LanguageRegistry.addName(girder, "Girder");

 

 

//crafting

GameRegistry.addShapelessRecipe(new ItemStack(Item.silk, 4), new ItemStack(Block.cloth));

GameRegistry.addRecipe(new ItemStack(net, 2), new Object[] {" S ","SSS"," S ", 'S', Item.silk});

GameRegistry.addRecipe(new ItemStack(Bag, 2), new Object[] {"N N","N N","NNN", 'N', net});

 

GameRegistry.addShapelessRecipe(new ItemStack(sandbagS), new ItemStack(Bag), new ItemStack(Block.sand));

GameRegistry.addShapelessRecipe(new ItemStack(concrete), new ItemStack(Block.gravel), new ItemStack(Item.bucketWater));

GameRegistry.addShapelessRecipe(new ItemStack(concrete), new ItemStack(Item.clay), new ItemStack(Item.bucketWater));

GameRegistry.addRecipe(new ItemStack(Rconcrete, 3), new Object[] {"GCG","GCG","GCG", 'G', girder, 'C', concrete});

GameRegistry.addRecipe(new ItemStack(Bwire, 3), new Object[] {"  I","WWW","I  ", 'I', Item.ingotIron, 'W', wire});

GameRegistry.addRecipe(new ItemStack(Dnet), new Object[] {" N ","NSN"," N ", 'N', net, 'S', Block.sand});

GameRegistry.addRecipe(new ItemStack(Snet), new Object[] {" N ","NSN"," N ", 'N', net, 'S', Item.snowball});

GameRegistry.addRecipe(new ItemStack(Gnet), new Object[] {" N ","NDN"," N ", 'N', net, 'D', Block.dirt});

GameRegistry.addShapelessRecipe(new ItemStack(Dcamo), new ItemStack(concrete), new ItemStack(Dnet));

GameRegistry.addShapelessRecipe(new ItemStack(Scamo), new ItemStack(concrete), new ItemStack(Snet));

GameRegistry.addShapelessRecipe(new ItemStack(Gcamo), new ItemStack(concrete), new ItemStack(Gnet));

GameRegistry.addShapelessRecipe(new ItemStack(Rglass), new ItemStack(Block.glass), new ItemStack(Item.ingotIron));

GameRegistry.addRecipe(new ItemStack(girder), new Object[] {" I "," I "," I ", 'I', Item.ingotIron});

GameRegistry.addShapelessRecipe(new ItemStack(sandbag), new ItemStack(sandbagS));

}}

 

 

 

wire

 

package a.army;

 

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.item.Item;

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

 

public class wire extends Item{

 

public wire(int par1) {

super(par1);}

 

@SideOnly(Side.CLIENT)

public void registerIcons(IconRegister register) {

this.itemIcon = register.registerIcon("oomod:wire");

this.setCreativeTab(CreativeTabs.tabMisc);

}

 

}

 

 

 

Another Issue is my custom model block isn't in game

 

Main

 

 

 

 

Block

 

package a.army;

 

import cpw.mods.fml.relauncher.Side;

import cpw.mods.fml.relauncher.SideOnly;

import net.minecraft.block.Block;

import net.minecraft.block.material.Material;

import net.minecraft.client.renderer.texture.IconRegister;

import net.minecraft.creativetab.CreativeTabs;

import net.minecraft.tileentity.TileEntity;

import net.minecraft.world.World;

 

public class girder extends Block{

 

public girder(int par1, Material par2Material) {

super(par1, par2Material);

 

this.setCreativeTab(CreativeTabs.tabBlock);

this.setHardness(10.0F);

this.setResistance(10.0F);

this.setBlockBounds(1f/16F*3F, 0F, 1F/16F*3F, 1F-1F/16F*3F, 1F-1F/16F*3F, 1F-1F/16F*3F);

}

public TileEntity createNewTileEntity(World world) {

return new TileEntityGirder();

 

}

public int getRenderType(){

return -1;

}

 

public boolean isOpaqueCube(){

return false;

}

 

public boolean renderAsNormalBlock(){

return false;

}

 

@SideOnly(Side.CLIENT)

public void registerIcons(IconRegister icon){

this.blockIcon = icon.registerIcon("oomod:girdir");

}

}

 

 

tile Entity

 

package a.army;

 

import net.minecraft.tileentity.TileEntity;

 

public class TileEntityGirder extends TileEntity {

 

}

 

 

 

Render

 

package a.army;

 

import org.lwjgl.opengl.GL11;

 

import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;

import net.minecraft.tileentity.TileEntity;

import net.minecraft.util.ResourceLocation;

 

public class GirderRender extends TileEntitySpecialRenderer{

 

private static final ResourceLocation texture = new ResourceLocation("oomod/textures/model/girdir");

 

private Girdermodel model;

 

public GirderRender(){

this.model = new Girdermodel();

}

 

public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float f) {

GL11.glPushMatrix();

GL11.glTranslatef((float)x + 0.5F, (float)y + 1.5F, (float) z + 0.5F);

    GL11.glRotatef(180, 0F, 0F, 1F);

this.bindTexture(texture);

GL11.glPushMatrix();

this.model.renderModel(0.0625F);

GL11.glPopMatrix();

GL11.glPopMatrix();

}

 

}

 

 

 

Model

 

// Date: 22/02/2014 16:30:13

// Template version 1.1

// Java generated by Techne

// Keep in mind that you still need to fill in some blanks

// - ZeuX

 

 

 

 

 

 

package a.army;

 

import net.minecraft.client.model.ModelBase;

import net.minecraft.client.model.ModelRenderer;

import net.minecraft.entity.Entity;

 

public class Girdermodel extends ModelBase

{

  //fields

    ModelRenderer centre;

    ModelRenderer Shape1;

    ModelRenderer Shape2;

    ModelRenderer Shape3;

    ModelRenderer Shape4;

 

  public Girdermodel()

  {

    textureWidth = 64;

    textureHeight = 32;

   

      centre = new ModelRenderer(this, 0, 0);

      centre.addBox(0F, 0F, 0F, 8, 16, 8);

      centre.setRotationPoint(0F, 0F, 0F);

      centre.setTextureSize(64, 32);

      centre.mirror = true;

      setRotation(centre, 0F, 0F, 0F);

      Shape1 = new ModelRenderer(this, 33, 0);

      Shape1.addBox(0F, 0F, 0F, 1, 16, 1);

      Shape1.setRotationPoint(-0.5F, 0F, -0.5F);

      Shape1.setTextureSize(64, 32);

      Shape1.mirror = true;

      setRotation(Shape1, 0F, 0F, 0F);

      Shape2 = new ModelRenderer(this, 41, 0);

      Shape2.addBox(0F, 0F, 0F, 1, 16, 1);

      Shape2.setRotationPoint(7.5F, 0F, -0.5F);

      Shape2.setTextureSize(64, 32);

      Shape2.mirror = true;

      setRotation(Shape2, 0F, 0F, 0F);

      Shape3 = new ModelRenderer(this, 48, 0);

      Shape3.addBox(0F, 0F, 0F, 1, 16, 1);

      Shape3.setRotationPoint(7.5F, 0F, 7.5F);

      Shape3.setTextureSize(64, 32);

      Shape3.mirror = true;

      setRotation(Shape3, 0F, 0F, 0F);

      Shape4 = new ModelRenderer(this, 54, 0);

      Shape4.addBox(0F, 0F, 0F, 1, 16, 1);

      Shape4.setRotationPoint(-0.5F, 0F, 7.5F);

      Shape4.setTextureSize(64, 32);

      Shape4.mirror = true;

      setRotation(Shape4, 0F, 0F, 0F);

  }

 

  public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)

  {

    super.render(entity, f, f1, f2, f3, f4, f5);

    setRotationAngles(f, f1, f2, f3, f4, f5, entity);

    centre.render(f5);

    Shape1.render(f5);

    Shape2.render(f5);

    Shape3.render(f5);

    Shape4.render(f5);

  }

 

  public void renderModel(float f){

    centre.render(f);

    Shape1.render(f);

    Shape2.render(f);

    Shape3.render(f);

    Shape4.render(f);}

  private void setRotation(ModelRenderer model, float x, float y, float z)

  {

    model.rotateAngleX = x;

    model.rotateAngleY = y;

    model.rotateAngleZ = z;

  }

 

  public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5, Entity entity)

  {

    super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);

  }

 

}

 

 

 

Link to comment
Share on other sites

I suspect you should put something like this in your main class:

@EventHandler
public static void init(FMLPreinitializationEvent event) {
      your code ... // It looks like you expect your class "main" (with lower case 'm') to be called magically
}

 

In 1.6, you would use FMLInitializationEvent. But for 1.7 blocks and items start out as above.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Hey, Me and my friends decided to start up a Server with "a few" mods, the last few days everything went well we used all the items we wanted. Now our Game crashes the moment we touch a Lava Bucket inside our Inventory. It just instantly closes and gives me an "Alc Cleanup"  Crash screen (Using GDLauncher). I honestly dont have a clue how to resolve this error. If anyone could help id really appreciate it, I speak German and Englisch so you can choose whatever you speak more fluently. Thanks in Advance. Plus I dont know how to link my Crash Report help for that would be nice too whoops
    • I hosted a minecraft server and I modded it, and there is always an error on the console which closes the server. If someone knows how to repair it, it would be amazing. Thank you. I paste the crash report down here: ---- Minecraft Crash Report ---- WARNING: coremods are present:   llibrary (llibrary-core-1.0.11-1.12.2.jar)   WolfArmorCore (WolfArmorAndStorage-1.12.2-3.8.0-universal-signed.jar)   AstralCore (astralsorcery-1.12.2-1.10.27.jar)   CreativePatchingLoader (CreativeCore_v1.10.71_mc1.12.2.jar)   SecurityCraftLoadingPlugin ([1.12.2] SecurityCraft v1.9.8.jar)   ForgelinPlugin (Forgelin-1.8.4.jar)   midnight (themidnight-0.3.5.jar)   FutureMC (Future-MC-0.2.19.jar)   SpartanWeaponry-MixinLoader (SpartanWeaponry-1.12.2-1.5.3.jar)   Backpacked (backpacked-1.4.3-1.12.2.jar)   LoadingPlugin (Reskillable-1.12.2-1.13.0.jar)   LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar) Contact their authors BEFORE contacting forge // There are four lights! Time: 3/28/24 12:17 PM Description: Exception in server tick loop net.minecraftforge.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient     at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:89)     at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:612)     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:219)     at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:197)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.google.common.eventbus.Subscriber.invokeSubscriberMethod(Subscriber.java:91)     at com.google.common.eventbus.Subscriber$SynchronizedSubscriber.invokeSubscriberMethod(Subscriber.java:150)     at com.google.common.eventbus.Subscriber$1.run(Subscriber.java:76)     at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:399)     at com.google.common.eventbus.Subscriber.dispatchEvent(Subscriber.java:71)     at com.google.common.eventbus.Dispatcher$PerThreadQueuedDispatcher.dispatch(Dispatcher.java:116)     at com.google.common.eventbus.EventBus.post(EventBus.java:217)     at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:136)     at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:595)     at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98)     at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333)     at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486)     at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/multiplayer/WorldClient     at java.lang.Class.getDeclaredMethods0(Native Method)     at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)     at java.lang.Class.privateGetPublicMethods(Class.java:2902)     at java.lang.Class.getMethods(Class.java:1615)     at net.minecraftforge.fml.common.eventhandler.EventBus.register(EventBus.java:82)     at net.minecraftforge.fml.common.AutomaticEventSubscriber.inject(AutomaticEventSubscriber.java:82)     ... 31 more Caused by: java.lang.ClassNotFoundException: net.minecraft.client.multiplayer.WorldClient     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)     at java.lang.ClassLoader.loadClass(ClassLoader.java:418)     at java.lang.ClassLoader.loadClass(ClassLoader.java:351)     ... 37 more Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer net.minecraftforge.fml.common.asm.transformers.SideTransformer@4e558728 from coremod FMLCorePlugin     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:260)     at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)     at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)     ... 39 more Caused by: java.lang.RuntimeException: Attempted to load class bsb for invalid side SERVER     at net.minecraftforge.fml.common.asm.transformers.SideTransformer.transform(SideTransformer.java:62)     at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:256)     ... 41 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Linux (amd64) version 5.10.0-28-cloud-amd64     Java Version: 1.8.0_382, Temurin     Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Temurin     Memory: 948745536 bytes (904 MB) / 1564999680 bytes (1492 MB) up to 7635730432 bytes (7282 MB)     JVM Flags: 2 total; -Xmx8192M -Xms256M     IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0     FML: MCP 9.42 Powered by Forge 14.23.5.2860 63 mods loaded, 63 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State | ID                 | Version                 | Source                                                | Signature                                |     |:----- |:------------------ |:----------------------- |:----------------------------------------------------- |:---------------------------------------- |     | LC    | minecraft          | 1.12.2                  | minecraft.jar                                         | None                                     |     | LC    | mcp                | 9.42                    | minecraft.jar                                         | None                                     |     | LC    | FML                | 8.0.99.99               | forge-1.12.2-14.23.5.2860.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LC    | forge              | 14.23.5.2860            | forge-1.12.2-14.23.5.2860.jar                         | e3c3d50c7c986df74c645c0ac54639741c90a557 |     | LC    | creativecoredummy  | 1.0.0                   | minecraft.jar                                         | None                                     |     | LC    | backpacked         | 1.4.2                   | backpacked-1.4.3-1.12.2.jar                           | None                                     |     | LC    | itemblacklist      | 1.4.3                   | ItemBlacklist-1.4.3.jar                               | None                                     |     | LC    | securitycraft      | v1.9.8                  | [1.12.2] SecurityCraft v1.9.8.jar                     | None                                     |     | LC    | aiimprovements     | 0.0.1.3                 | AIImprovements-1.12-0.0.1b3.jar                       | None                                     |     | LC    | jei                | 4.16.1.301              | jei_1.12.2-4.16.1.301.jar                             | None                                     |     | LC    | appleskin          | 1.0.14                  | AppleSkin-mc1.12-1.0.14.jar                           | None                                     |     | LC    | baubles            | 1.5.2                   | Baubles-1.12-1.5.2.jar                                | None                                     |     | LC    | astralsorcery      | 1.10.27                 | astralsorcery-1.12.2-1.10.27.jar                      | a0f0b759d895c15ceb3e3bcb5f3c2db7c582edf0 |     | LC    | attributefix       | 1.0.12                  | AttributeFix-Forge-1.12.2-1.0.12.jar                  | None                                     |     | LC    | atum               | 2.0.20                  | Atum-1.12.2-2.0.20.jar                                | None                                     |     | LC    | bloodmoon          | 1.5.3                   | Bloodmoon-MC1.12.2-1.5.3.jar                          | d72e0dd57935b3e9476212aea0c0df352dd76291 |     | LC    | forgelin           | 1.8.4                   | Forgelin-1.8.4.jar                                    | None                                     |     | LC    | bountiful          | 2.2.2                   | Bountiful-2.2.2.jar                                   | None                                     |     | LC    | camera             | 1.0.10                  | camera-1.0.10.jar                                     | None                                     |     | LC    | chisel             | MC1.12.2-1.0.2.45       | Chisel-MC1.12.2-1.0.2.45.jar                          | None                                     |     | LC    | collective         | 3.0                     | collective-1.12.2-3.0.jar                             | None                                     |     | LC    | reskillable        | 1.12.2-1.13.0           | Reskillable-1.12.2-1.13.0.jar                         | None                                     |     | LC    | compatskills       | 1.12.2-1.17.0           | CompatSkills-1.12.2-1.17.0.jar                        | None                                     |     | LC    | creativecore       | 1.10.0                  | CreativeCore_v1.10.71_mc1.12.2.jar                    | None                                     |     | LC    | customnpcs         | 1.12                    | CustomNPCs_1.12.2-(05Jul20).jar                       | None                                     |     | LC    | darknesslib        | 1.1.2                   | DarknessLib-1.12.2-1.1.2.jar                          | 220f10d3a93b3ff5fbaa7434cc629d863d6751b9 |     | LC    | dungeonsmod        | @VERSION@               | DungeonsMod-1.12.2-1.0.8.jar                          | None                                     |     | LC    | enhancedvisuals    | 1.3.0                   | EnhancedVisuals_v1.4.4_mc1.12.2.jar                   | None                                     |     | LC    | extrautils2        | 1.0                     | extrautils2-1.12-1.9.9.jar                            | None                                     |     | LC    | futuremc           | 0.2.6                   | Future-MC-0.2.19.jar                                  | None                                     |     | LC    | geckolib3          | 3.0.30                  | geckolib-forge-1.12.2-3.0.31.jar                      | None                                     |     | LC    | gottschcore        | 1.15.1                  | GottschCore-mc1.12.2-f14.23.5.2859-v1.15.1.jar        | None                                     |     | LC    | hardcorerevival    | 1.2.0                   | HardcoreRevival_1.12.2-1.2.0.jar                      | None                                     |     | LC    | waila              | 1.8.26                  | Hwyla-1.8.26-B41_1.12.2.jar                           | None                                     |     | LE    | imsm               | 1.12                    | Instant Massive Structures Mod 1.12.2.jar             | None                                     |     | L     | journeymap         | 1.12.2-5.7.1p2          | journeymap-1.12.2-5.7.1p2.jar                         | None                                     |     | L     | mobsunscreen       | @version@               | mobsunscreen-1.12.2-3.1.5.jar                         | None                                     |     | L     | morpheus           | 1.12.2-3.5.106          | Morpheus-1.12.2-3.5.106.jar                           | None                                     |     | L     | llibrary           | 1.7.20                  | llibrary-1.7.20-1.12.2.jar                            | None                                     |     | L     | mowziesmobs        | 1.5.8                   | mowziesmobs-1.5.8.jar                                 | None                                     |     | L     | nocubessrparmory   | 3.0.0                   | NoCubes_SRP_Combat_Addon_3.0.0.jar                    | None                                     |     | L     | nocubessrpnests    | 3.0.0                   | NoCubes_SRP_Nests_Addon_3.0.0.jar                     | None                                     |     | L     | nocubessrpsurvival | 3.0.0                   | NoCubes_SRP_Survival_Addon_3.0.0.jar                  | None                                     |     | L     | nocubesrptweaks    | V4.1                    | nocubesrptweaks-V4.1.jar                              | None                                     |     | L     | patchouli          | 1.0-23.6                | Patchouli-1.0-23.6.jar                                | None                                     |     | L     | artifacts          | 1.1.2                   | RLArtifacts-1.1.2.jar                                 | None                                     |     | L     | rsgauges           | 1.2.8                   | rsgauges-1.12.2-1.2.8.jar                             | None                                     |     | L     | rustic             | 1.1.7                   | rustic-1.1.7.jar                                      | None                                     |     | L     | silentlib          | 3.0.13                  | SilentLib-1.12.2-3.0.14+168.jar                       | None                                     |     | L     | scalinghealth      | 1.3.37                  | ScalingHealth-1.12.2-1.3.42+147.jar                   | None                                     |     | L     | lteleporters       | 1.12.2-3.0.2            | simpleteleporters-1.12.2-3.0.2.jar                    | None                                     |     | L     | spartanshields     | 1.5.5                   | SpartanShields-1.12.2-1.5.5.jar                       | None                                     |     | L     | spartanweaponry    | 1.5.3                   | SpartanWeaponry-1.12.2-1.5.3.jar                      | None                                     |     | L     | srparasites        | 1.9.18                  | SRParasites-1.12.2v1.9.18.jar                         | None                                     |     | L     | treasure2          | 2.2.0                   | Treasure2-mc1.12.2-f14.23.5.2859-v2.2.1.jar           | None                                     |     | L     | treeharvester      | 4.0                     | treeharvester_1.12.2-4.0.jar                          | None                                     |     | L     | twilightforest     | 3.11.1021               | twilightforest-1.12.2-3.11.1021-universal.jar         | None                                     |     | L     | variedcommodities  | 1.12.2                  | VariedCommodities_1.12.2-(31Mar23).jar                | None                                     |     | L     | voicechat          | 1.12.2-2.4.32           | voicechat-forge-1.12.2-2.4.32.jar                     | None                                     |     | L     | wolfarmor          | 3.8.0                   | WolfArmorAndStorage-1.12.2-3.8.0-universal-signed.jar | None                                     |     | L     | worldborder        | 2.3                     | worldborder_1.12.2-2.3.jar                            | None                                     |     | L     | midnight           | 0.3.5                   | themidnight-0.3.5.jar                                 | None                                     |     | L     | structurize        | 1.12.2-0.10.277-RELEASE | structurize-1.12.2-0.10.277-RELEASE.jar               | None                                     |     Loaded coremods (and transformers):  llibrary (llibrary-core-1.0.11-1.12.2.jar)   net.ilexiconn.llibrary.server.core.plugin.LLibraryTransformer   net.ilexiconn.llibrary.server.core.patcher.LLibraryRuntimePatcher WolfArmorCore (WolfArmorAndStorage-1.12.2-3.8.0-universal-signed.jar)    AstralCore (astralsorcery-1.12.2-1.10.27.jar)    CreativePatchingLoader (CreativeCore_v1.10.71_mc1.12.2.jar)    SecurityCraftLoadingPlugin ([1.12.2] SecurityCraft v1.9.8.jar)    ForgelinPlugin (Forgelin-1.8.4.jar)    midnight (themidnight-0.3.5.jar)   com.mushroom.midnight.core.transformer.MidnightClassTransformer FutureMC (Future-MC-0.2.19.jar)   thedarkcolour.futuremc.asm.CoreTransformer SpartanWeaponry-MixinLoader (SpartanWeaponry-1.12.2-1.5.3.jar)    Backpacked (backpacked-1.4.3-1.12.2.jar)   com.mrcrayfish.backpacked.asm.BackpackedTransformer LoadingPlugin (Reskillable-1.12.2-1.13.0.jar)   codersafterdark.reskillable.base.asm.ClassTransformer LoadingPlugin (Bloodmoon-MC1.12.2-1.5.3.jar)   lumien.bloodmoon.asm.ClassTransformer     Profiler Position: N/A (disabled)     Is Modded: Definitely; Server brand changed to 'fml,forge'     Type: Dedicated Server (map_server.txt)
    • When i add mods like falling leaves, visuality and kappas shaders, even if i restart Minecraft they dont show up in the mods menu and they dont work
    • Delete the forge-client.toml file in your config folder  
    • If you are using AMD/ATI, get the latest drivers from their website - do not update via system  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.