Jump to content

Custom Bow Renderer Problem


MrProg

Recommended Posts

I'm having a problem with my bow renderer which seems crash in my ClientProxy:

 

Sep 21, 2013 8:29:36 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Sep 21, 2013 8:29:36 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
Sep 21, 2013 8:29:36 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
2013-09-21 20:29:36 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.2.881 for Minecraft 1.6.4 loading
2013-09-21 20:29:36 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_21, running on Windows 7:amd64:6.1, installed at C:\Program Files\eclipse\jre
2013-09-21 20:29:36 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-09-21 20:29:36 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
2013-09-21 20:29:36 [iNFO] [sTDOUT] Loaded 109 rules from AccessTransformer config file forge_at.cfg
2013-09-21 20:29:37 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2013-09-21 20:29:37 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
2013-09-21 20:29:37 [iNFO] [Minecraft-Client] Setting user: Player900
2013-09-21 20:29:37 [iNFO] [Minecraft-Client] (Session ID is null)
2013-09-21 20:29:38 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-09-21 20:29:38 [iNFO] [sTDERR] javax.imageio.IIOException: Can't read input file!
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at javax.imageio.ImageIO.read(Unknown Source)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.readImage(Minecraft.java:556)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:418)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:806)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-09-21 20:29:38 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-09-21 20:29:38 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-09-21 20:29:38 [iNFO] [sTDOUT] 
2013-09-21 20:29:38 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-09-21 20:29:38 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-09-21 20:29:38 [iNFO] [sTDOUT] MinecraftForge v9.11.0.881 Initialized
2013-09-21 20:29:38 [iNFO] [ForgeModLoader] MinecraftForge v9.11.0.881 Initialized
2013-09-21 20:29:38 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-09-21 20:29:38 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-09-21 20:29:38 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Robert\Desktop\forge1.6.4\mcp\jars\config\logging.properties
2013-09-21 20:29:38 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-09-21 20:29:38 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-09-21 20:29:38 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-09-21 20:29:38 [iNFO] [sTDOUT] OpenAL initialized.
2013-09-21 20:29:38 [iNFO] [ForgeModLoader] Searching C:\Users\Robert\Desktop\forge1.6.4\mcp\jars\mods for mods
2013-09-21 20:29:39 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 5 mods to load
2013-09-21 20:29:40 [iNFO] [mcp] Activating mod mcp
2013-09-21 20:29:40 [iNFO] [FML] Activating mod FML
2013-09-21 20:29:40 [iNFO] [Forge] Activating mod Forge
2013-09-21 20:29:40 [iNFO] [DessertsPlus] Activating mod DessertsPlus
2013-09-21 20:29:40 [iNFO] [VanillaPlus] Activating mod VanillaPlus
2013-09-21 20:29:40 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2013-09-21 20:29:40 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2013-09-21 20:29:40 [WARNING] [DessertsPlus] Mod DessertsPlus is missing a pack.mcmeta file, things may not work well
2013-09-21 20:29:40 [WARNING] [VanillaPlus] Mod VanillaPlus is missing a pack.mcmeta file, things may not work well
2013-09-21 20:29:40 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:DessertsPlus, FMLFileResourcePack:VanillaPlus
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-09-21 20:29:40 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-09-21 20:29:40 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-09-21 20:29:40 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-09-21 20:29:40 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-09-21 20:29:40 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from PREINITIALIZATION to INITIALIZATION. Loading cannot continue
2013-09-21 20:29:40 [sEVERE] [ForgeModLoader] 
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
FML{6.4.2.881} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
Forge{9.11.0.881} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
DessertsPlus{1.0.0} [DessertsPlus] (bin) Unloaded->Constructed->Pre-initialized
VanillaPlus{1.3.2} [VanillaPlus] (bin) Unloaded->Constructed->Errored
2013-09-21 20:29:40 [sEVERE] [ForgeModLoader] The following problems were captured during this phase
2013-09-21 20:29:40 [sEVERE] [ForgeModLoader] Caught exception from VanillaPlus
java.lang.NullPointerException
at vanillaplus.VanillaPlus.preInit(VanillaPlus.java:222)
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:540)
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:520)
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:471)
at net.minecraft.client.Minecraft.run(Minecraft.java:806)
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)
2013-09-21 20:29:40 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-09-21 20:29:40 [iNFO] [sTDOUT] // This doesn't make any sense!
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] Time: 9/21/13 8:29 PM
2013-09-21 20:29:40 [iNFO] [sTDOUT] Description: Initializing game
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] java.lang.NullPointerException
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at vanillaplus.VanillaPlus.preInit(VanillaPlus.java:222)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:471)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:806)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-09-21 20:29:40 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] -- Head --
2013-09-21 20:29:40 [iNFO] [sTDOUT] Stacktrace:
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at vanillaplus.VanillaPlus.preInit(VanillaPlus.java:222)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:540)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:194)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:174)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:105)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.common.Loader.loadMods(Loader.java:520)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:181)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.startGame(Minecraft.java:471)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] -- Initialization --
2013-09-21 20:29:40 [iNFO] [sTDOUT] Details:
2013-09-21 20:29:40 [iNFO] [sTDOUT] Stacktrace:
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:806)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 
2013-09-21 20:29:40 [iNFO] [sTDOUT] -- System Details --
2013-09-21 20:29:40 [iNFO] [sTDOUT] Details:
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.4
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Operating System: Windows 7 (amd64) version 6.1
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Java Version: 1.7.0_21, Oracle Corporation
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Memory: 781781376 bytes (745 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	FML: MCP v8.11 FML v6.4.2.881 Minecraft Forge 9.11.0.881 5 mods loaded, 5 mods active
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	FML{6.4.2.881} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Forge{9.11.0.881} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	DessertsPlus{1.0.0} [DessertsPlus] (bin) Unloaded->Constructed->Pre-initialized
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	VanillaPlus{1.3.2} [VanillaPlus] (bin) Unloaded->Constructed->Errored
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Launched Version: 1.6
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	OpenGL: AMD Radeon HD 6800 Series GL version 4.2.12002 Compatibility Profile Context 9.12.0.0, ATI Technologies Inc.
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Resource Pack: Default
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Current Language: English (US)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-09-21 20:29:40 [iNFO] [sTDOUT] 	Vec3 Pool Size: ~~ERROR~~ NullPointerException: null
2013-09-21 20:29:40 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Robert\Desktop\forge1.6.4\mcp\jars\.\crash-reports\crash-2013-09-21_20.29.40-client.txt

 

Here is my class file for what includes this:

public static final String modid = "VanillaPlus";
    @SidedProxy(clientSide = "vanillaplus.ClientProxy", serverSide = "vanillaplus.ServerProxy")
    public static ServerProxy proxy;
    public static ClientProxy Cproxy;   

......

    @EventHandler
    @PreInit
    public void preInit(FMLPreInitializationEvent event)
    {
    	Cproxy.registerRenderers();
/////////////////////////////////////////

 

Here's my ClientProxy:

 

package vanillaplus;

import java.util.ArrayList;

import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.item.crafting.ShapedRecipes;
import net.minecraft.item.crafting.ShapelessRecipes;
import net.minecraftforge.client.MinecraftForgeClient;
import cpw.mods.fml.client.registry.RenderingRegistry;

public class ClientProxy extends ServerProxy
{

@Override
    public void registerRenderers() {
	 MinecraftForgeClient.registerItemRenderer(VanillaPlus.rapidBow.itemID, new BowRenderer());
    }
    public int addArmor(String armor)
    {
        return RenderingRegistry.addNewArmourRendererPrefix(armor);
    }
    
}

 

Here's my SererProxy:

package vanillaplus;

import java.util.ArrayList;

import net.minecraft.item.ItemStack;
import net.minecraft.item.crafting.CraftingManager;
import net.minecraft.item.crafting.IRecipe;
import net.minecraft.item.crafting.ShapedRecipes;
import net.minecraft.item.crafting.ShapelessRecipes;
import net.minecraftforge.client.MinecraftForgeClient;
import cpw.mods.fml.common.registry.TickRegistry;
import cpw.mods.fml.relauncher.Side;

public class ServerProxy
{
    
    public int addArmor(String string)
    {
        return 0;
    }
   
    
    static void RemoveRecipe(ItemStack resultItem)
    {
    ItemStack recipeResult = null;
    ArrayList recipes = (ArrayList) CraftingManager.getInstance().getRecipeList();
    for (int scan = 0; scan < recipes.size(); scan++)
    {
    IRecipe tmpRecipe = (IRecipe) recipes.get(scan);
    recipeResult = tmpRecipe.getRecipeOutput();
    if (recipeResult != null) {
    if (recipeResult.itemID == resultItem.itemID && recipeResult.getItemDamage() == resultItem.getItemDamage())
    {
    System.out.println("Removed Recipe: " + recipes.get(scan) + " -> " + recipeResult);
    recipes.remove(scan);
    scan--; 
    }
    }
    }
    }

    
    public void registerRenderers() {
     
    }
}

 

And here is my Custom Bow Renderer:

package vanillaplus;

import net.minecraft.client.Minecraft;
import net.minecraft.client.entity.EntityClientPlayerMP;
import net.minecraft.client.renderer.ItemRenderer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Icon;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.IItemRenderer;

import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;

public class BowRenderer implements IItemRenderer {
    private RenderManager renderManager;
private Minecraft mc;

public static final ResourceLocation RESOURCELOCATION = new ResourceLocation("textures/misc/enchanted_item_glint.png");
public BowRenderer() {
	this.renderManager = RenderManager.instance;
	this.mc = Minecraft.getMinecraft();
}

@Override
public boolean handleRenderType(ItemStack item, ItemRenderType type) {
	return type == ItemRenderType.EQUIPPED || type == ItemRenderType.EQUIPPED_FIRST_PERSON;
}

@Override
public boolean shouldUseRenderHelper(ItemRenderType type, ItemStack item, ItemRendererHelper helper) {
	return false;
}

@Override
public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
	EntityLivingBase entity = (EntityLivingBase) data[1];

	ItemRenderer irInstance = this.mc.entityRenderer.itemRenderer;

	GL11.glPopMatrix(); 
	if(type == ItemRenderType.EQUIPPED_FIRST_PERSON) {
		this.renderItem(entity, item, 0);
	} else {
		GL11.glPushMatrix();


            float f2 = 3F - (1F/3F);
            GL11.glRotatef(-20.0F, 0.0F, 0.0F, 1.0F);
            GL11.glRotatef(90.0F, 1.0F, 0.0F, 0.0F);
            GL11.glRotatef(-60.0F, 0.0F, 0.0F, 1.0F);
            GL11.glScalef(f2, f2, f2);
            GL11.glTranslatef(-0.25F, -0.1875F, 0.1875F);
            
            // render the item as 'real' bow
            float f3 = 0.625F;
            GL11.glTranslatef(0.0F, 0.125F, 0.3125F);
            GL11.glRotatef(-20.0F, 0.0F, 1.0F, 0.0F);
            GL11.glScalef(f3, -f3, f3);
            GL11.glRotatef(-100.0F, 1.0F, 0.0F, 0.0F);
            GL11.glRotatef(45.0F, 0.0F, 1.0F, 0.0F);
            
		this.renderItem(entity, item, 0);
		GL11.glPopMatrix();
	}
	GL11.glPushMatrix();
}

private void renderItem(EntityLivingBase par1EntityLiving, ItemStack par2ItemStack, int par3) {
	Icon icon = par1EntityLiving.getItemIcon(par2ItemStack, par3);

        if (icon == null)
        {
            return;
        }

        

        Tessellator tessellator = Tessellator.instance;
        float f = icon.getMinU();
        float f1 = icon.getMaxU();
        float f2 = icon.getMinV();
        float f3 = icon.getMaxV();
        float f4 = 0.0F;
        float f5 = 0.3F;
        GL11.glEnable(GL12.GL_RESCALE_NORMAL);
        GL11.glTranslatef(-f4, -f5, 0.0F);
        float f6 = 1.5F;
        GL11.glScalef(f6, f6, f6);
        GL11.glRotatef(50.0F, 0.0F, 1.0F, 0.0F);
        GL11.glRotatef(335.0F, 0.0F, 0.0F, 1.0F);
        GL11.glTranslatef(-0.9375F, -0.0625F, 0.0F);
        ItemRenderer.renderItemIn2D(tessellator, f1, f2, f, f3, icon.getIconWidth(), icon.getIconHeight(), 0.0625F);

        if (par2ItemStack != null && par2ItemStack.hasEffect() && par3 == 0)
        {
            GL11.glDepthFunc(GL11.GL_EQUAL);
            GL11.glDisable(GL11.GL_LIGHTING);
            this.mc.renderEngine.bindTexture(RESOURCELOCATION);
            GL11.glEnable(GL11.GL_BLEND);
            GL11.glBlendFunc(GL11.GL_SRC_COLOR, GL11.GL_ONE);
            float f7 = 0.76F;
            GL11.glColor4f(0.5F * f7, 0.25F * f7, 0.8F * f7, 1.0F);
            GL11.glMatrixMode(GL11.GL_TEXTURE);
            GL11.glPushMatrix();
            float f8 = 0.125F;
            GL11.glScalef(f8, f8, f8);
            float f9 = (float)(Minecraft.getSystemTime() % 3000L) / 3000.0F * 8.0F;
            GL11.glTranslatef(f9, 0.0F, 0.0F);
            GL11.glRotatef(-50.0F, 0.0F, 0.0F, 1.0F);
            ItemRenderer.renderItemIn2D(tessellator, 0.0F, 0.0F, 1.0F, 1.0F, 256, 256, 0.0625F);
            GL11.glPopMatrix();
            GL11.glPushMatrix();
            GL11.glScalef(f8, f8, f8);
            f9 = (float)(Minecraft.getSystemTime() % 4873L) / 4873.0F * 8.0F;
            GL11.glTranslatef(-f9, 0.0F, 0.0F);
            GL11.glRotatef(10.0F, 0.0F, 0.0F, 1.0F);
            ItemRenderer.renderItemIn2D(tessellator, 0.0F, 0.0F, 1.0F, 1.0F, 256, 256, 0.0625F);
            GL11.glPopMatrix();
            GL11.glMatrixMode(GL11.GL_MODELVIEW);
            GL11.glDisable(GL11.GL_BLEND);
            GL11.glEnable(GL11.GL_LIGHTING);
            GL11.glDepthFunc(GL11.GL_LEQUAL);
        }

        GL11.glDisable(GL12.GL_RESCALE_NORMAL);
}
}

 

Thanks for any help :)

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



×
×
  • Create New...

Important Information

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