
Jerry99666
Members-
Posts
14 -
Joined
-
Last visited
Everything posted by Jerry99666
-
[Solved][1.6.4] White Box Renders in Place Of Custom Mob
Jerry99666 replied to Jerry99666's topic in Modder Support
Found this tutorial http://www.minecraftforum.net/topic/2046075-the-slayers-modding-tutorials-custom-mob/ and followed it changing my entity file and the registering location and boom it loaded my mob right up! -
[Solved][1.6.4] White Box Renders in Place Of Custom Mob
Jerry99666 replied to Jerry99666's topic in Modder Support
alright I think I figured it out, its a bug caused by Techne that caused things to load out of order, I want in and changed the order to the right order and woah it loads fine but now I don't get an invisible entity rendering, so that should tell me that my texture is located in the wrong spot. Hmm since I am using Eclipse does that change the location at all? -
[Solved][1.6.4] White Box Renders in Place Of Custom Mob
Jerry99666 replied to Jerry99666's topic in Modder Support
8 PM net.minecraft.launchwrapper.LogWrapper log INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker Jan 13, 2014 10:05:08 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker Jan 13, 2014 10:05:08 PM net.minecraft.launchwrapper.LogWrapper log INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_45, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre7 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-01-13 22:05:08 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-01-13 22:05:08 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2014-01-13 22:05:08 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2014-01-13 22:05:10 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-01-13 22:05:10 [iNFO] [sTDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg 2014-01-13 22:05:10 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-01-13 22:05:10 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2014-01-13 22:05:13 [iNFO] [Minecraft-Client] Setting user: Player81 2014-01-13 22:05:15 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2014-01-13 22:05:16 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2014-01-13 22:05:18 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2014-01-13 22:05:18 [iNFO] [sTDOUT] MinecraftForge v9.11.1.965 Initialized 2014-01-13 22:05:18 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized 2014-01-13 22:05:19 [iNFO] [sTDOUT] Replaced 111 ore recipies 2014-01-13 22:05:19 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2014-01-13 22:05:19 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Gamer\Documents\mod\forge\mcp\jars\config\logging.properties 2014-01-13 22:05:19 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2014-01-13 22:05:19 [iNFO] [ForgeModLoader] Searching C:\Users\Gamer\Documents\mod\forge\mcp\jars\mods for mods 2014-01-13 22:05:24 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2014-01-13 22:05:24 [iNFO] [mcp] Activating mod mcp 2014-01-13 22:05:24 [iNFO] [FML] Activating mod FML 2014-01-13 22:05:24 [iNFO] [Forge] Activating mod Forge 2014-01-13 22:05:24 [iNFO] [skeith] Activating mod Skeith 2014-01-13 22:05:24 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-01-13 22:05:24 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-01-13 22:05:24 [WARNING] [skeith Mod] Mod Skeith Mod is missing a pack.mcmeta file, things may not work well 2014-01-13 22:05:24 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Skeith Mod 2014-01-13 22:05:24 [iNFO] [ForgeModLoader] Registering Forge Packet Handler 2014-01-13 22:05:24 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2014-01-13 22:05:25 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2014-01-13 22:05:27 [sEVERE] [ForgeModLoader] Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue 2014-01-13 22:05:27 [sEVERE] [ForgeModLoader] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized Skeith{Release} [skeith Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored 2014-01-13 22:05:27 [sEVERE] [ForgeModLoader] The following problems were captured during this phase 2014-01-13 22:05:27 [sEVERE] [ForgeModLoader] Caught exception from Skeith java.lang.NullPointerException at jerry99666.skeith.mobs.ModelSkeith.<init>(ModelSkeith.java:278) at jerry99666.skeith.client.SkeithClientProxy.registerRenderInformation(SkeithClientProxy.java:15) at jerry99666.skeith.common.skeith.InitSkeith(skeith.java:71) 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:545) 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.initializeMods(Loader.java:699) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249) at net.minecraft.client.Minecraft.startGame(Minecraft.java:509) 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-01-13 22:05:27 [iNFO] [sTDOUT] ---- Minecraft Crash Report ---- 2014-01-13 22:05:27 [iNFO] [sTDOUT] // Ouch. That hurt 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] Time: 1/13/14 10:05 PM 2014-01-13 22:05:27 [iNFO] [sTDOUT] Description: Initializing game 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] java.lang.NullPointerException 2014-01-13 22:05:27 [iNFO] [sTDOUT] at jerry99666.skeith.mobs.ModelSkeith.<init>(ModelSkeith.java:278) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at jerry99666.skeith.client.SkeithClientProxy.registerRenderInformation(SkeithClientProxy.java:15) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at jerry99666.skeith.common.skeith.InitSkeith(skeith.java:71) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:509) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows: 2014-01-13 22:05:27 [iNFO] [sTDOUT] --------------------------------------------------------------------------------------- 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] -- Head -- 2014-01-13 22:05:27 [iNFO] [sTDOUT] Stacktrace: 2014-01-13 22:05:27 [iNFO] [sTDOUT] at jerry99666.skeith.mobs.ModelSkeith.<init>(ModelSkeith.java:278) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at jerry99666.skeith.client.SkeithClientProxy.registerRenderInformation(SkeithClientProxy.java:15) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at jerry99666.skeith.common.skeith.InitSkeith(skeith.java:71) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:545) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:201) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:181) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:313) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at com.google.common.eventbus.EventBus.post(EventBus.java:267) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:112) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.common.Loader.initializeMods(Loader.java:699) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:249) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.startGame(Minecraft.java:509) 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] -- Initialization -- 2014-01-13 22:05:27 [iNFO] [sTDOUT] Details: 2014-01-13 22:05:27 [iNFO] [sTDOUT] Stacktrace: 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.client.Minecraft.run(Minecraft.java:808) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.client.main.Main.main(Main.java:93) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at java.lang.reflect.Method.invoke(Unknown Source) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.launch(Launch.java:131) 2014-01-13 22:05:27 [iNFO] [sTDOUT] at net.minecraft.launchwrapper.Launch.main(Launch.java:27) 2014-01-13 22:05:27 [iNFO] [sTDOUT] 2014-01-13 22:05:27 [iNFO] [sTDOUT] -- System Details -- 2014-01-13 22:05:27 [iNFO] [sTDOUT] Details: 2014-01-13 22:05:27 [iNFO] [sTDOUT] Minecraft Version: 1.6.4 2014-01-13 22:05:27 [iNFO] [sTDOUT] Operating System: Windows 7 (amd64) version 6.1 2014-01-13 22:05:27 [iNFO] [sTDOUT] Java Version: 1.7.0_45, Oracle Corporation 2014-01-13 22:05:27 [iNFO] [sTDOUT] Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation 2014-01-13 22:05:27 [iNFO] [sTDOUT] Memory: 892594832 bytes (851 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB) 2014-01-13 22:05:27 [iNFO] [sTDOUT] JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M 2014-01-13 22:05:27 [iNFO] [sTDOUT] AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used 2014-01-13 22:05:27 [iNFO] [sTDOUT] Suspicious classes: FML and Forge are installed 2014-01-13 22:05:27 [iNFO] [sTDOUT] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 2014-01-13 22:05:27 [iNFO] [sTDOUT] FML: MCP v8.11 FML v6.4.49.965 Minecraft Forge 9.11.1.965 4 mods loaded, 4 mods active 2014-01-13 22:05:27 [iNFO] [sTDOUT] mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized 2014-01-13 22:05:27 [iNFO] [sTDOUT] FML{6.4.49.965} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized 2014-01-13 22:05:27 [iNFO] [sTDOUT] Forge{9.11.1.965} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized 2014-01-13 22:05:27 [iNFO] [sTDOUT] Skeith{Release} [skeith Mod] (bin) Unloaded->Constructed->Pre-initialized->Errored 2014-01-13 22:05:27 [iNFO] [sTDOUT] Launched Version: 1.6 2014-01-13 22:05:27 [iNFO] [sTDOUT] LWJGL: 2.9.0 2014-01-13 22:05:27 [iNFO] [sTDOUT] OpenGL: ATI Mobility Radeon HD 4200 Series GL version 3.3.11672 Compatibility Profile Context, ATI Technologies Inc. 2014-01-13 22:05:27 [iNFO] [sTDOUT] Is Modded: Definitely; Client brand changed to 'fml,forge' 2014-01-13 22:05:27 [iNFO] [sTDOUT] Type: Client (map_client.txt) 2014-01-13 22:05:27 [iNFO] [sTDOUT] Resource Pack: Default 2014-01-13 22:05:27 [iNFO] [sTDOUT] Current Language: English (US) 2014-01-13 22:05:27 [iNFO] [sTDOUT] Profiler Position: N/A (disabled) 2014-01-13 22:05:27 [iNFO] [sTDOUT] Vec3 Pool Size: ~~ERROR~~ NullPointerException: null 2014-01-13 22:05:27 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Gamer\Documents\mod\forge\mcp\jars\.\crash-reports\crash-2014-01-13_22.05.27-client.txt I am unsure what caused it. Its most likely something simple and I'm just over looking it. What I did for this was change the proxy.registerRenderers in my mainmod file to registerRenderInformation -
[Solved][1.6.4] White Box Renders in Place Of Custom Mob
Jerry99666 replied to Jerry99666's topic in Modder Support
Alright what've tried. Changing the client proxy to registerRenderers which caused a crash. Changing the mainmod to call registerRenderInformation which caused a crash. Am I doing this wrong? -
[Solved][1.6.4] White Box Renders in Place Of Custom Mob
Jerry99666 replied to Jerry99666's topic in Modder Support
what do you mean diesieben07? Sorry I'm still learning how to mod with Forge. -
[Solved][1.6.4] White Box Renders in Place Of Custom Mob
Jerry99666 posted a topic in Modder Support
After getting help with getting my mob to even show up in-game, I find myself facing a new challenge, my mob renders as a large white box. I am sure my texture is in the correct place or its my render file (copy of cows) I think it might be the render file as my mob is quite big. If anyone can help me figure this out, that would amazing as this is quite weird for me. What Mob Shows Up As: http://i1077.photobucket.com/albums/w464/Jerry99666/2014-01-10_152048_zps626fe080.png[/img] What Mob Should Show Up As: MainModFile: package jerry99666.skeith.common; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler; import cpw.mods.fml.common.SidedProxy; import jerry99666.skeith.common.SkeithCommonProxy; import jerry99666.skeith.common.handlers.SkeithServerPacketHandler; import jerry99666.skeith.common.handlers.SkeithClientPacketHandler; import jerry99666.skeith.mobs.EntitySkeith; import jerry99666.skeith.mobs.RenderSkeith; import jerry99666.skeith.mobs.ModelSkeith; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityEggInfo; import net.minecraft.entity.EntityList; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.EnumCreatureType; import net.minecraft.item.Item; import net.minecraft.world.IBlockAccess; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler; import cpw.mods.fml.common.SidedProxy; @NetworkMod(clientSideRequired=true,serverSideRequired=false, clientPacketHandlerSpec = @SidedPacketHandler(channels = {"Skeith"}, packetHandler = SkeithClientPacketHandler.class), serverPacketHandlerSpec = @SidedPacketHandler(channels = {"Skeith"}, packetHandler = SkeithServerPacketHandler.class)) @Mod(modid="Skeith",name="Skeith Mod",version="Release") public class skeith { @Instance("Skeith") public static skeith instance = new skeith(); @SidedProxy(clientSide = "jerry99666.skeith.client.SkeithClientProxy", serverSide = "jerry99666.skeith.common.SkeithCommonProxy") public static SkeithCommonProxy proxy; @PreInit public void PreInit(FMLPreInitializationEvent e) { } @Init public void InitSkeith(FMLInitializationEvent event) { LanguageRegistry.instance().addStringLocalization("entity.Skeith.name", "Skeith"); EntityRegistry.registerModEntity(EntitySkeith.class, "Skeith", 0, this, 350, 5, false); EntityList.addMapping(EntitySkeith.class, "Skeith", 3, 0xeaeae9, 0xc99a03); NetworkRegistry.instance().registerGuiHandler(this, proxy); proxy.registerRenderers(); } public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l) { return false; } //And this tell it that you can see through this block, and neighbor blocks should be rendered. public boolean isOpaqueCube() { return false; } private void registerEntity(Class<EntitySkeith> class1, String string, int i, int j) { } } Client Proxy: package jerry99666.skeith.client; import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import jerry99666.skeith.common.SkeithCommonProxy; import jerry99666.skeith.mobs.EntitySkeith; import jerry99666.skeith.mobs.ModelSkeith; import jerry99666.skeith.mobs.RenderSkeith; import net.minecraftforge.client.MinecraftForgeClient; public class SkeithClientProxy extends SkeithCommonProxy { public void registerRenderInformation() { RenderingRegistry.registerEntityRenderingHandler(EntitySkeith.class, new RenderSkeith(new ModelSkeith(), 0.5F)); EntityRegistry.registerGlobalEntityID(EntitySkeith.class, "Skeith", EntityRegistry.findGlobalUniqueEntityId(), 0xabcde9, 0xe98a03); } } Common Proxy: package jerry99666.skeith.common; import net.minecraft.block.Block; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.FurnaceRecipes; import net.minecraft.world.World; import cpw.mods.fml.common.network.IGuiHandler; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; public class SkeithCommonProxy implements IGuiHandler { public void registerRenderInformation() { } @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { //For GUI's return null; } @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { return null; } public void registerTiles() { } public void registerBlocks() { } public void registerItems() { } public void registerRenderers() { } } ClientPacketHandler: package jerry99666.skeith.common.handlers; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.IOException; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.network.INetworkManager; import net.minecraft.network.packet.Packet250CustomPayload; import cpw.mods.fml.common.network.IPacketHandler; import cpw.mods.fml.common.network.Player; import cpw.mods.fml.relauncher.*; @SideOnly(Side.CLIENT) public class SkeithClientPacketHandler implements IPacketHandler { @Override public void onPacketData(INetworkManager manager, Packet250CustomPayload payload, Player player) { DataInputStream data = new DataInputStream(new ByteArrayInputStream(payload.data)); } } ServerPacketHandler: package jerry99666.skeith.common.handlers; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.network.INetworkManager; import net.minecraft.network.packet.Packet250CustomPayload; import cpw.mods.fml.common.network.IPacketHandler; import cpw.mods.fml.common.network.Player; public class SkeithServerPacketHandler implements IPacketHandler { @Override public void onPacketData(INetworkManager manager, Packet250CustomPayload payload, Player player) { DataInputStream data = new DataInputStream(new ByteArrayInputStream(payload.data)); EntityPlayer sender = (EntityPlayer) player; } } EntityFile: package jerry99666.skeith.mobs; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; public class EntitySkeith extends EntityMob { private String texture; public EntitySkeith(World par1World) { super(par1World); this.texture = "textures/mobs/skeith.png"; this.getNavigator().setAvoidsWater(true); this.setSize(1.5F, 0.9F); this.isImmuneToFire = false; float var2 = 0.25F; this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(6, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F)); this.tasks.addTask(7, new EntityAILookIdle(this)); } public boolean isAIEnabled() { return true; } protected void updateAITasks() { super.updateAITasks(); } public void setAIMoveSpeed(float par1) { super.setAIMoveSpeed(7F); this.setMoveForward(5F); } protected void entityInit() { super.entityInit(); this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); } public boolean interact(EntityPlayer par1EntityPlayer) { return false; } protected void fall(float par1) { super.fall(par1); } public EntitySkeith spawnBabyAnimal(EntityAgeable par1EntityAgeable) { return null; } public EntityAgeable createChild(EntityAgeable var1) { return null; } } RenderFile: package jerry99666.skeith.mobs; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.util.ResourceLocation; @SideOnly(Side.CLIENT) public class RenderSkeith extends RenderLiving { private static final ResourceLocation skeithTextures = new ResourceLocation("textures/entity/Skeith.png"); public RenderSkeith(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); } protected ResourceLocation getSkeithTextures(EntitySkeith par1EntitySkeith) { return skeithTextures; } protected ResourceLocation getEntityTexture(Entity par1Entity) { return this.getSkeithTextures((EntitySkeith)par1Entity); } } ModelFile: package jerry99666.skeith.mobs; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelSkeith extends ModelBase { ModelRenderer LLegB; ModelRenderer LLegMB; ModelRenderer LLegM; ModelRenderer LLegMT; ModelRenderer LLegT; ModelRenderer RLegB; ModelRenderer RLegMB; ModelRenderer RLegM; ModelRenderer RLegMT; ModelRenderer RLegT; ModelRenderer WaistB; ModelRenderer WaistM; ModelRenderer WaistT; ModelRenderer TorsoB; ModelRenderer TorsoM; ModelRenderer TorsoT; ModelRenderer Neck; ModelRenderer Head; ModelRenderer RShoulder; ModelRenderer RArmT; ModelRenderer RArmB; ModelRenderer RWrist; ModelRenderer RThumb; ModelRenderer RIndex; ModelRenderer RMiddle; ModelRenderer RRing; ModelRenderer RPinkie; ModelRenderer LShoulder; ModelRenderer LArmT; ModelRenderer LArmB; ModelRenderer LWrist; ModelRenderer LThumb; ModelRenderer LIndex; ModelRenderer LMiddle; ModelRenderer LRing; ModelRenderer LPinkie; ModelRenderer LHorn1; ModelRenderer LHorn2; ModelRenderer LHorn3; ModelRenderer LHorn4; ModelRenderer LHorn5; ModelRenderer LHorn6; ModelRenderer LHorn7; ModelRenderer RHorn1; ModelRenderer RHorn2; ModelRenderer RHorn3; ModelRenderer RHorn4; ModelRenderer RHorn5; ModelRenderer LHorn8; public ModelSkeith() { textureWidth = 128; textureHeight = 128; LLegB = new ModelRenderer(this, 56, 76); LLegB.addBox(0F, 0F, 0F, 2, 5, 2); LLegB.setRotationPoint(4F, 16F, 0F); LLegB.setTextureSize(128, 128); LLegB.mirror = true; setRotation(LLegB, 0F, 0F, 0F); LLegMB = new ModelRenderer(this, 44, 76); LLegMB.addBox(0F, 0F, 0F, 3, 5, 3); LLegMB.setRotationPoint(3.5F, 11F, -0.5F); LLegMB.setTextureSize(128, 128); LLegMB.mirror = true; setRotation(LLegMB, 0F, 0F, 0F); LLegM = new ModelRenderer(this, 28, 76); LLegM.addBox(0F, 0F, 0F, 4, 5, 4); LLegM.setRotationPoint(3F, 6F, -1F); LLegM.setTextureSize(128, 128); LLegM.mirror = true; setRotation(LLegM, 0F, 0F, 0F); LLegMT = new ModelRenderer(this, 16, 76); LLegMT.addBox(0F, 0F, 0F, 3, 2, 3); LLegMT.setRotationPoint(3.5F, 4F, -0.5F); LLegMT.setTextureSize(128, 128); LLegMT.mirror = true; setRotation(LLegMT, 0F, 0F, 0F); LLegT = new ModelRenderer(this, 0, 76); LLegT.addBox(0F, 0F, 0F, 4, 4, 4); LLegT.setRotationPoint(3F, 0F, -1F); LLegT.setTextureSize(128, 128); LLegT.mirror = true; setRotation(LLegT, 0F, 0F, 0F); RLegB = new ModelRenderer(this, 56, 67); RLegB.addBox(0F, 0F, 0F, 2, 5, 2); RLegB.setRotationPoint(-6F, 16F, 0F); RLegB.setTextureSize(128, 128); RLegB.mirror = true; setRotation(RLegB, 0F, 0F, 0F); RLegMB = new ModelRenderer(this, 44, 67); RLegMB.addBox(0F, 0F, 0F, 3, 5, 3); RLegMB.setRotationPoint(-6.5F, 11F, -0.5F); RLegMB.setTextureSize(128, 128); RLegMB.mirror = true; setRotation(RLegMB, 0F, 0F, 0F); RLegM = new ModelRenderer(this, 28, 67); RLegM.addBox(0F, 0F, 0F, 4, 5, 4); RLegM.setRotationPoint(-7F, 6F, -1F); RLegM.setTextureSize(128, 128); RLegM.mirror = true; setRotation(RLegM, 0F, 0F, 0F); RLegMT = new ModelRenderer(this, 16, 67); RLegMT.addBox(0F, 0F, 0F, 3, 2, 3); RLegMT.setRotationPoint(-6.5F, 4F, -0.5F); RLegMT.setTextureSize(128, 128); RLegMT.mirror = true; setRotation(RLegMT, 0F, 0F, 0F); RLegT = new ModelRenderer(this, 0, 67); RLegT.addBox(0F, 0F, 0F, 4, 4, 4); RLegT.setRotationPoint(-7F, 0F, -1F); RLegT.setTextureSize(128, 128); RLegT.mirror = true; setRotation(RLegT, 0F, 0F, 0F); WaistB = new ModelRenderer(this, 0, 58); WaistB.addBox(0F, 0F, 0F, 5, 4, 5); WaistB.setRotationPoint(-2.5F, -5F, -2F); WaistB.setTextureSize(128, 128); WaistB.mirror = true; setRotation(WaistB, 0F, 0F, 0F); WaistM = new ModelRenderer(this, 20, 51); WaistM.addBox(0F, 0F, 0F, 3, 4, 3); WaistM.setRotationPoint(-1.5F, -9F, -1F); WaistM.setTextureSize(128, 128); WaistM.mirror = true; setRotation(WaistM, 0F, 0F, 0F); WaistT = new ModelRenderer(this, 0, 50); WaistT.addBox(0F, 0F, 0F, 5, 3, 5); WaistT.setRotationPoint(-2.5F, -12F, -2F); WaistT.setTextureSize(128, 128); WaistT.mirror = true; setRotation(WaistT, 0F, 0F, 0F); TorsoB = new ModelRenderer(this, 0, 40); TorsoB.addBox(0F, 0F, 0F, 9, 3, 7); TorsoB.setRotationPoint(-4.5F, -15F, -3F); TorsoB.setTextureSize(128, 128); TorsoB.mirror = true; setRotation(TorsoB, 0F, 0F, 0F); TorsoM = new ModelRenderer(this, 0, 27); TorsoM.addBox(0F, 0F, 0F, 13, 5, ; TorsoM.setRotationPoint(-6.5F, -20F, -4F); TorsoM.setTextureSize(128, 128); TorsoM.mirror = true; setRotation(TorsoM, 0F, 0F, 0F); TorsoT = new ModelRenderer(this, 0, 18); TorsoT.addBox(0F, 0F, 0F, 9, 2, 7); TorsoT.setRotationPoint(-4.5F, -22F, -3F); TorsoT.setTextureSize(128, 128); TorsoT.mirror = true; setRotation(TorsoT, 0F, 0F, 0F); Neck = new ModelRenderer(this, 0, 10); Neck.addBox(0F, 0F, 0F, 7, 2, 6); Neck.setRotationPoint(-3.5F, -24F, -2F); Neck.setTextureSize(128, 128); Neck.mirror = true; setRotation(Neck, 0F, 0F, 0F); Head = new ModelRenderer(this, 0, 0); Head.addBox(0F, 0F, 0F, 5, 5, 5); Head.setRotationPoint(-2.5F, -28F, -3F); Head.setTextureSize(128, 128); Head.mirror = true; setRotation(Head, 0F, 0F, 0F); RShoulder = new ModelRenderer(this, 44, 0); RShoulder.addBox(0F, 0F, 0F, 7, 5, 5); RShoulder.setRotationPoint(-14.5F, -21F, -2F); RShoulder.setTextureSize(128, 128); RShoulder.mirror = true; setRotation(RShoulder, 0F, 0F, 0F); RArmT = new ModelRenderer(this, 44, 10); RArmT.addBox(0F, 0F, 0F, 4, 4, 4); RArmT.setRotationPoint(-13F, -15F, -1F); RArmT.setTextureSize(128, 128); RArmT.mirror = true; setRotation(RArmT, 0F, 0F, 0F); RArmB = new ModelRenderer(this, 43, 18); RArmB.addBox(0F, 0F, 0F, 4, 6, 5); RArmB.setRotationPoint(-13.5F, -10F, -2F); RArmB.setTextureSize(128, 128); RArmB.mirror = true; setRotation(RArmB, 0F, 0F, 0F); RWrist = new ModelRenderer(this, 44, 29); RWrist.addBox(0F, 0F, 0F, 3, 2, 5); RWrist.setRotationPoint(-13F, -4F, -2F); RWrist.setTextureSize(128, 128); RWrist.mirror = true; setRotation(RWrist, 0F, 0F, 0F); RThumb = new ModelRenderer(this, 42, 36); RThumb.addBox(-11F, -3F, -3F, 1, 5, 1); RThumb.setRotationPoint(0F, 0F, 0F); RThumb.setTextureSize(128, 128); RThumb.mirror = true; setRotation(RThumb, 0F, 0F, 0F); RIndex = new ModelRenderer(this, 46, 36); RIndex.addBox(0F, 0F, 0F, 1, 5, 1); RIndex.setRotationPoint(-13F, -2F, -2F); RIndex.setTextureSize(128, 128); RIndex.mirror = true; setRotation(RIndex, 0F, 0F, 0F); RMiddle = new ModelRenderer(this, 50, 36); RMiddle.addBox(0F, 0F, 0F, 1, 6, 1); RMiddle.setRotationPoint(-13F, -2F, -1F); RMiddle.setTextureSize(128, 128); RMiddle.mirror = true; setRotation(RMiddle, 0F, 0F, 0F); RRing = new ModelRenderer(this, 54, 36); RRing.addBox(0F, 0F, 0F, 1, 6, 1); RRing.setRotationPoint(-13F, -2F, 0F); RRing.setTextureSize(128, 128); RRing.mirror = true; setRotation(RRing, 0F, 0F, 0F); RPinkie = new ModelRenderer(this, 58, 36); RPinkie.addBox(-13F, -2F, 1F, 1, 5, 1); RPinkie.setRotationPoint(0F, 0F, 0F); RPinkie.setTextureSize(128, 128); RPinkie.mirror = true; setRotation(RPinkie, 0F, 0F, 0F); LShoulder = new ModelRenderer(this, 68, 0); LShoulder.addBox(0F, 0F, 0F, 7, 5, 5); LShoulder.setRotationPoint(7.5F, -21F, -2F); LShoulder.setTextureSize(128, 128); LShoulder.mirror = true; setRotation(LShoulder, 0F, 0F, 0F); LArmT = new ModelRenderer(this, 68, 10); LArmT.addBox(0F, 0F, 0F, 4, 4, 4); LArmT.setRotationPoint(9F, -15F, -1F); LArmT.setTextureSize(128, 128); LArmT.mirror = true; setRotation(LArmT, 0F, 0F, 0F); LArmB = new ModelRenderer(this, 67, 18); LArmB.addBox(0F, 0F, 0F, 4, 6, 5); LArmB.setRotationPoint(9.5F, -10F, -2F); LArmB.setTextureSize(128, 128); LArmB.mirror = true; setRotation(LArmB, 0F, 0F, 0F); LWrist = new ModelRenderer(this, 68, 29); LWrist.addBox(0F, 0F, 0F, 3, 2, 5); LWrist.setRotationPoint(10F, -4F, -2F); LWrist.setTextureSize(128, 128); LWrist.mirror = true; setRotation(LWrist, 0F, 0F, 0F); LThumb = new ModelRenderer(this, 66, 36); LThumb.addBox(10F, -3F, -3F, 1, 5, 1); LThumb.setRotationPoint(0F, 0F, 0F); LThumb.setTextureSize(128, 128); LThumb.mirror = true; setRotation(LThumb, 0F, 0F, 0F); LIndex = new ModelRenderer(this, 70, 36); LIndex.addBox(0F, 0F, 0F, 1, 5, 1); LIndex.setRotationPoint(12F, -2F, -2F); LIndex.setTextureSize(128, 128); LIndex.mirror = true; setRotation(LIndex, 0F, 0F, 0F); LMiddle = new ModelRenderer(this, 74, 36); LMiddle.addBox(0F, 0F, -1F, 1, 6, 1); LMiddle.setRotationPoint(12F, -2F, 0F); LMiddle.setTextureSize(128, 128); LMiddle.mirror = true; setRotation(LMiddle, 0F, 0F, 0F); LRing = new ModelRenderer(this, 78, 36); LRing.addBox(0F, 0F, 0F, 1, 6, 1); LRing.setRotationPoint(12F, -2F, 0F); LRing.setTextureSize(128, 128); LRing.mirror = true; setRotation(LRing, 0F, 0F, 0F); LPinkie = new ModelRenderer(this, 82, 36); LPinkie.addBox(12F, -2F, 1F, 1, 5, 1); LPinkie.setRotationPoint(0F, 0F, 0F); LPinkie.setTextureSize(128, 128); LPinkie.mirror = true; setRotation(LPinkie, 0F, 0F, 0F); LHorn1.mirror = true; LHorn1 = new ModelRenderer(this, 20, 4); LHorn1.addBox(0F, 0F, 0F, 3, 1, 1); LHorn1.setRotationPoint(2F, -28F, -1F); LHorn1.setTextureSize(128, 128); LHorn1.mirror = true; setRotation(LHorn1, 0F, -0.3926991F, -0.1963495F); LHorn1.mirror = false; LHorn2 = new ModelRenderer(this, 28, 4); LHorn2.addBox(0F, 0F, 0.2F, 3, 1, 1); LHorn2.setRotationPoint(5F, -28.5F, 0F); LHorn2.setTextureSize(128, 128); LHorn2.mirror = true; setRotation(LHorn2, 0F, -0.7853982F, -0.3926991F); LHorn3 = new ModelRenderer(this, 36, 4); LHorn3.addBox(0F, 0F, 0.1F, 3, 1, 1); LHorn3.setRotationPoint(7F, -29.6F, 2F); LHorn3.setTextureSize(128, 128); LHorn3.mirror = true; setRotation(LHorn3, 0F, -1.003564F, -0.5890486F); LHorn4 = new ModelRenderer(this, 20, 6); LHorn4.addBox(-1F, 0F, 0F, 3, 1, 1); LHorn4.setRotationPoint(8.5F, -32F, 5F); LHorn4.setTextureSize(128, 128); LHorn4.mirror = true; setRotation(LHorn4, 0F, -1.570796F, -0.7853982F); LHorn5 = new ModelRenderer(this, 28, 6); LHorn5.addBox(0F, -0.3333333F, 0F, 3, 1, 1); LHorn5.setRotationPoint(8.5F, -33.2F, 7F); LHorn5.setTextureSize(128, 128); LHorn5.mirror = true; setRotation(LHorn5, 0F, -1.963495F, -0.7853982F); LHorn6 = new ModelRenderer(this, 36, 6); LHorn6.addBox(0F, 0.5F, 0.1F, 3, 1, 1); LHorn6.setRotationPoint(8F, -36F, 9F); LHorn6.setTextureSize(128, 128); LHorn6.mirror = true; setRotation(LHorn6, 0F, -2.356194F, -0.5890486F); LHorn7 = new ModelRenderer(this, 20, ; LHorn7.addBox(0.2F, 0F, 0F, 3, 1, 1); LHorn7.setRotationPoint(6F, -37F, 11F); LHorn7.setTextureSize(128, 128); LHorn7.mirror = true; setRotation(LHorn7, 0F, -2.748893F, -0.3926991F); LHorn8 = new ModelRenderer(this, 28, ; LHorn8.addBox(0F, 0F, 0F, 3, 1, 1); LHorn8.setRotationPoint(3F, -38.2F, 12.2F); LHorn8.setTextureSize(128, 128); LHorn8.mirror = true; setRotation(LHorn8, 0F, -3.141593F, -0.1963495F); RHorn1 = new ModelRenderer(this, 20, 0); RHorn1.addBox(0F, 0F, 0F, 3, 1, 1); RHorn1.setRotationPoint(-5F, -28.5F, 0F); RHorn1.setTextureSize(128, 128); RHorn1.mirror = true; setRotation(RHorn1, 0F, 0.3926991F, 0.1963495F); RHorn2 = new ModelRenderer(this, 28, 0); RHorn2.addBox(0F, 0F, 0F, 3, 1, 1); RHorn2.setRotationPoint(-7F, -29.7F, 2F); RHorn2.setTextureSize(128, 128); RHorn2.mirror = true; setRotation(RHorn2, 0F, 0.7853982F, 0.3926991F); RHorn3 = new ModelRenderer(this, 36, 0); RHorn3.addBox(0F, 0F, 0F, 3, 1, 1); RHorn3.setRotationPoint(-8.3F, -31.2F, 4F); RHorn3.setTextureSize(128, 128); RHorn3.mirror = true; setRotation(RHorn3, 0F, 1.003564F, 0.5890486F); RHorn4 = new ModelRenderer(this, 20, 2); RHorn4.addBox(-0.4F, 0F, 0F, 3, 1, 1); RHorn4.setRotationPoint(-8.5F, -33F, 6F); RHorn4.setTextureSize(128, 128); RHorn4.mirror = true; setRotation(RHorn4, 0F, 1.570796F, 0.7853982F); RHorn5 = new ModelRenderer(this, 28, 2); RHorn5.addBox(-0.7F, 0.2F, 0F, 3, 1, 1); RHorn5.setRotationPoint(-8F, -35F, 8F); RHorn5.setTextureSize(128, 128); RHorn5.mirror = true; setRotation(RHorn5, 0F, 1.963495F, 0.7853982F); LHorn8 = new ModelRenderer(this, 36, ; LHorn8.addBox(0F, 0F, 0F, 3, 1, 1); LHorn8.setRotationPoint(-3F, -38.2F, 11.2F); LHorn8.setTextureSize(128, 128); LHorn8.mirror = true; setRotation(LHorn8, 0F, 0F, -0.1963495F); } 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); LLegB.render(f5); LLegMB.render(f5); LLegM.render(f5); LLegMT.render(f5); LLegT.render(f5); RLegB.render(f5); RLegMB.render(f5); RLegM.render(f5); RLegMT.render(f5); RLegT.render(f5); WaistB.render(f5); WaistM.render(f5); WaistT.render(f5); TorsoB.render(f5); TorsoM.render(f5); TorsoT.render(f5); Neck.render(f5); Head.render(f5); RShoulder.render(f5); RArmT.render(f5); RArmB.render(f5); RWrist.render(f5); RThumb.render(f5); RIndex.render(f5); RMiddle.render(f5); RRing.render(f5); RPinkie.render(f5); LShoulder.render(f5); LArmT.render(f5); LArmB.render(f5); LWrist.render(f5); LThumb.render(f5); LIndex.render(f5); LMiddle.render(f5); LRing.render(f5); LPinkie.render(f5); LHorn1.render(f5); LHorn2.render(f5); LHorn3.render(f5); LHorn4.render(f5); LHorn5.render(f5); LHorn6.render(f5); LHorn7.render(f5); LHorn8.render(f5); RHorn1.render(f5); RHorn2.render(f5); RHorn3.render(f5); RHorn4.render(f5); RHorn5.render(f5); LHorn8.render(f5); } 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); } } -
Alright that got it to load but its giving me this very small white box like the size of a half block. I have the textures I believe set right. eclipse > Minecraft > bin > assets > skeith > textures > Skeith.png Would my Rendering be off? Everything looks ok, for your texture though, it has to be src>assets>skeith>textures>skeith.png and last i knew @preinit and @init are depricated and are being replaced with @EventHandler. I will compare this all with what i have done in the morning. I can get it to render but all I get is this http://i1077.photobucket.com/albums/w464/Jerry99666/2014-01-10_152048_zps626fe080.png[/img] I think my render file is messed up as this mob is big and I didn't use another mob as a base, I built it without a model base.
-
Hey guys I finally got my mob to load in-game but it only loads as a white half slab, I believe my RenderMob.class isn't right but I can't really tell. If anyone could help me, that would be amazing! ModClass: @NetworkMod(clientSideRequired=true,serverSideRequired=false, clientPacketHandlerSpec = @SidedPacketHandler(channels = {"Skeith"}, packetHandler = SkeithClientPacketHandler.class), serverPacketHandlerSpec = @SidedPacketHandler(channels = {"Skeith"}, packetHandler = SkeithServerPacketHandler.class)) @Mod(modid="Skeith",name="Skeith Mod",version="Release") public class skeith { @Instance("Skeith") public static skeith instance = new skeith(); @SidedProxy(clientSide = "jerry99666.skeith.client.SkeithClientProxy", serverSide = "jerry99666.skeith.common.SkeithCommonProxy") public static SkeithCommonProxy proxy; @PreInit public void PreInit(FMLPreInitializationEvent e) { } @Init public void InitSkeith(FMLInitializationEvent event) { LanguageRegistry.instance().addStringLocalization("entity.Skeith.name", "Skeith"); EntityRegistry.registerModEntity(EntitySkeith.class, "Skeith", 0, this, 350, 5, false); EntityList.addMapping(EntitySkeith.class, "Skeith", 3, 0xeaeae9, 0xc99a03); NetworkRegistry.instance().registerGuiHandler(this, proxy); } public boolean shouldSideBeRendered(IBlockAccess iblockaccess, int i, int j, int k, int l) { return false; } //And this tell it that you can see through this block, and neighbor blocks should be rendered. public boolean isOpaqueCube() { return false; } private void registerEntity(Class<EntitySkeith> class1, String string, int i, int j) { } } ClientProxy: public class SkeithClientProxy extends SkeithCommonProxy { public void registerRenderInformation(){ RenderingRegistry.registerEntityRenderingHandler(EntitySkeith.class, new RenderSkeith(new ModelSkeith(), 0.5F)); EntityRegistry.registerGlobalEntityID(EntitySkeith.class, "Skeith", EntityRegistry.findGlobalUniqueEntityId(), 0xabcde9, 0xe98a03); } } CommonProxy: public class SkeithCommonProxy implements IGuiHandler{ //THIS IS IMPORTANT, CANNOT BE A PROXY/GUI HANDLER WITHOUT THIS!! public void registerRenderInformation() //Client side texture registering { } @Override public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { //For GUI's return null; } @Override public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) { //For GUI's return null; } public void registerTiles(){ //For registering TileEntities } public void registerBlocks(){ //For registering Blocks } public void registerItems(){ //For registering Items } } EntityMob: public class EntitySkeith extends EntityMob { private String texture; public EntitySkeith(World par1World) { super(par1World); this.texture = "textures/mobs/skeith.png"; this.getNavigator().setAvoidsWater(true); this.setSize(1.5F, 0.9F); this.isImmuneToFire = false; float var2 = 0.25F; this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(6, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F)); this.tasks.addTask(7, new EntityAILookIdle(this)); } public boolean isAIEnabled() { return true; } protected void updateAITasks() { super.updateAITasks(); } public void setAIMoveSpeed(float par1) { super.setAIMoveSpeed(7F); this.setMoveForward(5F); } protected void entityInit() { super.entityInit(); this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); } public boolean interact(EntityPlayer par1EntityPlayer) { return false; } protected void fall(float par1) { super.fall(par1); } public EntitySkeith spawnBabyAnimal(EntityAgeable par1EntityAgeable) { return null; } public EntityAgeable createChild(EntityAgeable var1) { return null; } } ModelMob: public class ModelSkeith extends ModelBase { //fields ModelRenderer LLegB; ModelRenderer LLegMB; ModelRenderer LLegM; ModelRenderer LLegMT; ModelRenderer LLegT; ModelRenderer RLegB; ModelRenderer RLegMB; ModelRenderer RLegM; ModelRenderer RLegMT; ModelRenderer RLegT; ModelRenderer WaistB; ModelRenderer WaistM; ModelRenderer WaistT; ModelRenderer TorsoB; ModelRenderer TorsoM; ModelRenderer TorsoT; ModelRenderer Neck; ModelRenderer Head; ModelRenderer RShoulder; ModelRenderer RArmT; ModelRenderer RArmB; ModelRenderer RWrist; ModelRenderer RThumb; ModelRenderer RIndex; ModelRenderer RMiddle; ModelRenderer RRing; ModelRenderer RPinkie; ModelRenderer LShoulder; ModelRenderer LArmT; ModelRenderer LArmB; ModelRenderer LWrist; ModelRenderer LThumb; ModelRenderer LIndex; ModelRenderer LMiddle; ModelRenderer LRing; ModelRenderer LPinkie; ModelRenderer LHorn1; ModelRenderer LHorn2; ModelRenderer LHorn3; ModelRenderer LHorn4; ModelRenderer LHorn5; ModelRenderer LHorn6; ModelRenderer LHorn7; ModelRenderer RHorn1; ModelRenderer RHorn2; ModelRenderer RHorn3; ModelRenderer RHorn4; ModelRenderer RHorn5; ModelRenderer LHorn8; public ModelSkeith() { textureWidth = 128; textureHeight = 128; LLegB = new ModelRenderer(this, 56, 76); LLegB.addBox(0F, 0F, 0F, 2, 5, 2); LLegB.setRotationPoint(4F, 16F, 0F); LLegB.setTextureSize(128, 128); LLegB.mirror = true; setRotation(LLegB, 0F, 0F, 0F); LLegMB = new ModelRenderer(this, 44, 76); LLegMB.addBox(0F, 0F, 0F, 3, 5, 3); LLegMB.setRotationPoint(3.5F, 11F, -0.5F); LLegMB.setTextureSize(128, 128); LLegMB.mirror = true; setRotation(LLegMB, 0F, 0F, 0F); LLegM = new ModelRenderer(this, 28, 76); LLegM.addBox(0F, 0F, 0F, 4, 5, 4); LLegM.setRotationPoint(3F, 6F, -1F); LLegM.setTextureSize(128, 128); LLegM.mirror = true; setRotation(LLegM, 0F, 0F, 0F); LLegMT = new ModelRenderer(this, 16, 76); LLegMT.addBox(0F, 0F, 0F, 3, 2, 3); LLegMT.setRotationPoint(3.5F, 4F, -0.5F); LLegMT.setTextureSize(128, 128); LLegMT.mirror = true; setRotation(LLegMT, 0F, 0F, 0F); LLegT = new ModelRenderer(this, 0, 76); LLegT.addBox(0F, 0F, 0F, 4, 4, 4); LLegT.setRotationPoint(3F, 0F, -1F); LLegT.setTextureSize(128, 128); LLegT.mirror = true; setRotation(LLegT, 0F, 0F, 0F); RLegB = new ModelRenderer(this, 56, 67); RLegB.addBox(0F, 0F, 0F, 2, 5, 2); RLegB.setRotationPoint(-6F, 16F, 0F); RLegB.setTextureSize(128, 128); RLegB.mirror = true; setRotation(RLegB, 0F, 0F, 0F); RLegMB = new ModelRenderer(this, 44, 67); RLegMB.addBox(0F, 0F, 0F, 3, 5, 3); RLegMB.setRotationPoint(-6.5F, 11F, -0.5F); RLegMB.setTextureSize(128, 128); RLegMB.mirror = true; setRotation(RLegMB, 0F, 0F, 0F); RLegM = new ModelRenderer(this, 28, 67); RLegM.addBox(0F, 0F, 0F, 4, 5, 4); RLegM.setRotationPoint(-7F, 6F, -1F); RLegM.setTextureSize(128, 128); RLegM.mirror = true; setRotation(RLegM, 0F, 0F, 0F); RLegMT = new ModelRenderer(this, 16, 67); RLegMT.addBox(0F, 0F, 0F, 3, 2, 3); RLegMT.setRotationPoint(-6.5F, 4F, -0.5F); RLegMT.setTextureSize(128, 128); RLegMT.mirror = true; setRotation(RLegMT, 0F, 0F, 0F); RLegT = new ModelRenderer(this, 0, 67); RLegT.addBox(0F, 0F, 0F, 4, 4, 4); RLegT.setRotationPoint(-7F, 0F, -1F); RLegT.setTextureSize(128, 128); RLegT.mirror = true; setRotation(RLegT, 0F, 0F, 0F); WaistB = new ModelRenderer(this, 0, 58); WaistB.addBox(0F, 0F, 0F, 5, 4, 5); WaistB.setRotationPoint(-2.5F, -5F, -2F); WaistB.setTextureSize(128, 128); WaistB.mirror = true; setRotation(WaistB, 0F, 0F, 0F); WaistM = new ModelRenderer(this, 20, 51); WaistM.addBox(0F, 0F, 0F, 3, 4, 3); WaistM.setRotationPoint(-1.5F, -9F, -1F); WaistM.setTextureSize(128, 128); WaistM.mirror = true; setRotation(WaistM, 0F, 0F, 0F); WaistT = new ModelRenderer(this, 0, 50); WaistT.addBox(0F, 0F, 0F, 5, 3, 5); WaistT.setRotationPoint(-2.5F, -12F, -2F); WaistT.setTextureSize(128, 128); WaistT.mirror = true; setRotation(WaistT, 0F, 0F, 0F); TorsoB = new ModelRenderer(this, 0, 40); TorsoB.addBox(0F, 0F, 0F, 9, 3, 7); TorsoB.setRotationPoint(-4.5F, -15F, -3F); TorsoB.setTextureSize(128, 128); TorsoB.mirror = true; setRotation(TorsoB, 0F, 0F, 0F); TorsoM = new ModelRenderer(this, 0, 27); TorsoM.addBox(0F, 0F, 0F, 13, 5, ; TorsoM.setRotationPoint(-6.5F, -20F, -4F); TorsoM.setTextureSize(128, 128); TorsoM.mirror = true; setRotation(TorsoM, 0F, 0F, 0F); TorsoT = new ModelRenderer(this, 0, 18); TorsoT.addBox(0F, 0F, 0F, 9, 2, 7); TorsoT.setRotationPoint(-4.5F, -22F, -3F); TorsoT.setTextureSize(128, 128); TorsoT.mirror = true; setRotation(TorsoT, 0F, 0F, 0F); Neck = new ModelRenderer(this, 0, 10); Neck.addBox(0F, 0F, 0F, 7, 2, 6); Neck.setRotationPoint(-3.5F, -24F, -2F); Neck.setTextureSize(128, 128); Neck.mirror = true; setRotation(Neck, 0F, 0F, 0F); Head = new ModelRenderer(this, 0, 0); Head.addBox(0F, 0F, 0F, 5, 5, 5); Head.setRotationPoint(-2.5F, -28F, -3F); Head.setTextureSize(128, 128); Head.mirror = true; setRotation(Head, 0F, 0F, 0F); RShoulder = new ModelRenderer(this, 44, 0); RShoulder.addBox(0F, 0F, 0F, 7, 5, 5); RShoulder.setRotationPoint(-14.5F, -21F, -2F); RShoulder.setTextureSize(128, 128); RShoulder.mirror = true; setRotation(RShoulder, 0F, 0F, 0F); RArmT = new ModelRenderer(this, 44, 10); RArmT.addBox(0F, 0F, 0F, 4, 4, 4); RArmT.setRotationPoint(-13F, -15F, -1F); RArmT.setTextureSize(128, 128); RArmT.mirror = true; setRotation(RArmT, 0F, 0F, 0F); RArmB = new ModelRenderer(this, 43, 18); RArmB.addBox(0F, 0F, 0F, 4, 6, 5); RArmB.setRotationPoint(-13.5F, -10F, -2F); RArmB.setTextureSize(128, 128); RArmB.mirror = true; setRotation(RArmB, 0F, 0F, 0F); RWrist = new ModelRenderer(this, 44, 29); RWrist.addBox(0F, 0F, 0F, 3, 2, 5); RWrist.setRotationPoint(-13F, -4F, -2F); RWrist.setTextureSize(128, 128); RWrist.mirror = true; setRotation(RWrist, 0F, 0F, 0F); RThumb = new ModelRenderer(this, 42, 36); RThumb.addBox(-11F, -3F, -3F, 1, 5, 1); RThumb.setRotationPoint(0F, 0F, 0F); RThumb.setTextureSize(128, 128); RThumb.mirror = true; setRotation(RThumb, 0F, 0F, 0F); RIndex = new ModelRenderer(this, 46, 36); RIndex.addBox(0F, 0F, 0F, 1, 5, 1); RIndex.setRotationPoint(-13F, -2F, -2F); RIndex.setTextureSize(128, 128); RIndex.mirror = true; setRotation(RIndex, 0F, 0F, 0F); RMiddle = new ModelRenderer(this, 50, 36); RMiddle.addBox(0F, 0F, 0F, 1, 6, 1); RMiddle.setRotationPoint(-13F, -2F, -1F); RMiddle.setTextureSize(128, 128); RMiddle.mirror = true; setRotation(RMiddle, 0F, 0F, 0F); RRing = new ModelRenderer(this, 54, 36); RRing.addBox(0F, 0F, 0F, 1, 6, 1); RRing.setRotationPoint(-13F, -2F, 0F); RRing.setTextureSize(128, 128); RRing.mirror = true; setRotation(RRing, 0F, 0F, 0F); RPinkie = new ModelRenderer(this, 58, 36); RPinkie.addBox(-13F, -2F, 1F, 1, 5, 1); RPinkie.setRotationPoint(0F, 0F, 0F); RPinkie.setTextureSize(128, 128); RPinkie.mirror = true; setRotation(RPinkie, 0F, 0F, 0F); LShoulder = new ModelRenderer(this, 68, 0); LShoulder.addBox(0F, 0F, 0F, 7, 5, 5); LShoulder.setRotationPoint(7.5F, -21F, -2F); LShoulder.setTextureSize(128, 128); LShoulder.mirror = true; setRotation(LShoulder, 0F, 0F, 0F); LArmT = new ModelRenderer(this, 68, 10); LArmT.addBox(0F, 0F, 0F, 4, 4, 4); LArmT.setRotationPoint(9F, -15F, -1F); LArmT.setTextureSize(128, 128); LArmT.mirror = true; setRotation(LArmT, 0F, 0F, 0F); LArmB = new ModelRenderer(this, 67, 18); LArmB.addBox(0F, 0F, 0F, 4, 6, 5); LArmB.setRotationPoint(9.5F, -10F, -2F); LArmB.setTextureSize(128, 128); LArmB.mirror = true; setRotation(LArmB, 0F, 0F, 0F); LWrist = new ModelRenderer(this, 68, 29); LWrist.addBox(0F, 0F, 0F, 3, 2, 5); LWrist.setRotationPoint(10F, -4F, -2F); LWrist.setTextureSize(128, 128); LWrist.mirror = true; setRotation(LWrist, 0F, 0F, 0F); LThumb = new ModelRenderer(this, 66, 36); LThumb.addBox(10F, -3F, -3F, 1, 5, 1); LThumb.setRotationPoint(0F, 0F, 0F); LThumb.setTextureSize(128, 128); LThumb.mirror = true; setRotation(LThumb, 0F, 0F, 0F); LIndex = new ModelRenderer(this, 70, 36); LIndex.addBox(0F, 0F, 0F, 1, 5, 1); LIndex.setRotationPoint(12F, -2F, -2F); LIndex.setTextureSize(128, 128); LIndex.mirror = true; setRotation(LIndex, 0F, 0F, 0F); LMiddle = new ModelRenderer(this, 74, 36); LMiddle.addBox(0F, 0F, -1F, 1, 6, 1); LMiddle.setRotationPoint(12F, -2F, 0F); LMiddle.setTextureSize(128, 128); LMiddle.mirror = true; setRotation(LMiddle, 0F, 0F, 0F); LRing = new ModelRenderer(this, 78, 36); LRing.addBox(0F, 0F, 0F, 1, 6, 1); LRing.setRotationPoint(12F, -2F, 0F); LRing.setTextureSize(128, 128); LRing.mirror = true; setRotation(LRing, 0F, 0F, 0F); LPinkie = new ModelRenderer(this, 82, 36); LPinkie.addBox(12F, -2F, 1F, 1, 5, 1); LPinkie.setRotationPoint(0F, 0F, 0F); LPinkie.setTextureSize(128, 128); LPinkie.mirror = true; setRotation(LPinkie, 0F, 0F, 0F); LHorn1.mirror = true; LHorn1 = new ModelRenderer(this, 20, 4); LHorn1.addBox(0F, 0F, 0F, 3, 1, 1); LHorn1.setRotationPoint(2F, -28F, -1F); LHorn1.setTextureSize(128, 128); LHorn1.mirror = true; setRotation(LHorn1, 0F, -0.3926991F, -0.1963495F); LHorn1.mirror = false; LHorn2 = new ModelRenderer(this, 28, 4); LHorn2.addBox(0F, 0F, 0.2F, 3, 1, 1); LHorn2.setRotationPoint(5F, -28.5F, 0F); LHorn2.setTextureSize(128, 128); LHorn2.mirror = true; setRotation(LHorn2, 0F, -0.7853982F, -0.3926991F); LHorn3 = new ModelRenderer(this, 36, 4); LHorn3.addBox(0F, 0F, 0.1F, 3, 1, 1); LHorn3.setRotationPoint(7F, -29.6F, 2F); LHorn3.setTextureSize(128, 128); LHorn3.mirror = true; setRotation(LHorn3, 0F, -1.003564F, -0.5890486F); LHorn4 = new ModelRenderer(this, 20, 6); LHorn4.addBox(-1F, 0F, 0F, 3, 1, 1); LHorn4.setRotationPoint(8.5F, -32F, 5F); LHorn4.setTextureSize(128, 128); LHorn4.mirror = true; setRotation(LHorn4, 0F, -1.570796F, -0.7853982F); LHorn5 = new ModelRenderer(this, 28, 6); LHorn5.addBox(0F, -0.3333333F, 0F, 3, 1, 1); LHorn5.setRotationPoint(8.5F, -33.2F, 7F); LHorn5.setTextureSize(128, 128); LHorn5.mirror = true; setRotation(LHorn5, 0F, -1.963495F, -0.7853982F); LHorn6 = new ModelRenderer(this, 36, 6); LHorn6.addBox(0F, 0.5F, 0.1F, 3, 1, 1); LHorn6.setRotationPoint(8F, -36F, 9F); LHorn6.setTextureSize(128, 128); LHorn6.mirror = true; setRotation(LHorn6, 0F, -2.356194F, -0.5890486F); LHorn7 = new ModelRenderer(this, 20, ; LHorn7.addBox(0.2F, 0F, 0F, 3, 1, 1); LHorn7.setRotationPoint(6F, -37F, 11F); LHorn7.setTextureSize(128, 128); LHorn7.mirror = true; setRotation(LHorn7, 0F, -2.748893F, -0.3926991F); LHorn8 = new ModelRenderer(this, 28, ; LHorn8.addBox(0F, 0F, 0F, 3, 1, 1); LHorn8.setRotationPoint(3F, -38.2F, 12.2F); LHorn8.setTextureSize(128, 128); LHorn8.mirror = true; setRotation(LHorn8, 0F, -3.141593F, -0.1963495F); RHorn1 = new ModelRenderer(this, 20, 0); RHorn1.addBox(0F, 0F, 0F, 3, 1, 1); RHorn1.setRotationPoint(-5F, -28.5F, 0F); RHorn1.setTextureSize(128, 128); RHorn1.mirror = true; setRotation(RHorn1, 0F, 0.3926991F, 0.1963495F); RHorn2 = new ModelRenderer(this, 28, 0); RHorn2.addBox(0F, 0F, 0F, 3, 1, 1); RHorn2.setRotationPoint(-7F, -29.7F, 2F); RHorn2.setTextureSize(128, 128); RHorn2.mirror = true; setRotation(RHorn2, 0F, 0.7853982F, 0.3926991F); RHorn3 = new ModelRenderer(this, 36, 0); RHorn3.addBox(0F, 0F, 0F, 3, 1, 1); RHorn3.setRotationPoint(-8.3F, -31.2F, 4F); RHorn3.setTextureSize(128, 128); RHorn3.mirror = true; setRotation(RHorn3, 0F, 1.003564F, 0.5890486F); RHorn4 = new ModelRenderer(this, 20, 2); RHorn4.addBox(-0.4F, 0F, 0F, 3, 1, 1); RHorn4.setRotationPoint(-8.5F, -33F, 6F); RHorn4.setTextureSize(128, 128); RHorn4.mirror = true; setRotation(RHorn4, 0F, 1.570796F, 0.7853982F); RHorn5 = new ModelRenderer(this, 28, 2); RHorn5.addBox(-0.7F, 0.2F, 0F, 3, 1, 1); RHorn5.setRotationPoint(-8F, -35F, 8F); RHorn5.setTextureSize(128, 128); RHorn5.mirror = true; setRotation(RHorn5, 0F, 1.963495F, 0.7853982F); LHorn8 = new ModelRenderer(this, 36, ; LHorn8.addBox(0F, 0F, 0F, 3, 1, 1); LHorn8.setRotationPoint(-3F, -38.2F, 11.2F); LHorn8.setTextureSize(128, 128); LHorn8.mirror = true; setRotation(LHorn8, 0F, 0F, -0.1963495F); } 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); LLegB.render(f5); LLegMB.render(f5); LLegM.render(f5); LLegMT.render(f5); LLegT.render(f5); RLegB.render(f5); RLegMB.render(f5); RLegM.render(f5); RLegMT.render(f5); RLegT.render(f5); WaistB.render(f5); WaistM.render(f5); WaistT.render(f5); TorsoB.render(f5); TorsoM.render(f5); TorsoT.render(f5); Neck.render(f5); Head.render(f5); RShoulder.render(f5); RArmT.render(f5); RArmB.render(f5); RWrist.render(f5); RThumb.render(f5); RIndex.render(f5); RMiddle.render(f5); RRing.render(f5); RPinkie.render(f5); LShoulder.render(f5); LArmT.render(f5); LArmB.render(f5); LWrist.render(f5); LThumb.render(f5); LIndex.render(f5); LMiddle.render(f5); LRing.render(f5); LPinkie.render(f5); LHorn1.render(f5); LHorn2.render(f5); LHorn3.render(f5); LHorn4.render(f5); LHorn5.render(f5); LHorn6.render(f5); LHorn7.render(f5); LHorn8.render(f5); RHorn1.render(f5); RHorn2.render(f5); RHorn3.render(f5); RHorn4.render(f5); RHorn5.render(f5); LHorn8.render(f5); } 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); } } RenderMob: @SideOnly(Side.CLIENT) public class RenderSkeith extends RenderLiving { private static final ResourceLocation Your_Texture = new ResourceLocation("skeith:textures/entity/Skeith.png"); //refers to:assets/yourmod/textures/entity/yourtexture.png public RenderSkeith(ModelBase par1ModelBase, float par2) { super(par1ModelBase, par2); } @Override protected ResourceLocation getEntityTexture(Entity par1Entity) { return Your_Texture; } }
-
Alright thanks, I can't seem to find a guide to it.
-
Hmm, alright that seems a little beyond me to quite wrap my head around the rendering class. Would you be able to help me though it? I'm still learning this as I go, thank you so much for your help so far.
-
Alright that got it to load but its giving me this very small white box like the size of a half block. I have the textures I believe set right. eclipse > Minecraft > bin > assets > skeith > textures > Skeith.png Would my Rendering be off?
-
Alright I removed the EntityRegistry.registerGlobalEntityID(EntitySkeith.class, "Skeith", EntityRegistry.findGlobalUniqueEntityId(), 0xeaeae9, 0xc99a03); and added in the EntityRegistry.registerModEntity(EntitySkeith.class, "Skeith", 0, this, 350, 5, false); EntityList.addMapping(EntitySkeith.class, "Skeith", 3, 0xeaeae9, 0xc99a03); I still get no mob rendering. I don't get a white box or anything. Hmm just took a look at my Console and found this happening when I try and spawn the mob. 2014-01-10 14:56:39 [WARNING] [Minecraft-Server] Skipping Entity with id 3 2014-01-10 14:56:39 [iNFO] [sTDERR] java.lang.reflect.InvocationTargetException 2014-01-10 14:56:39 [iNFO] [sTDERR] at sun.reflect.GeneratedConstructorAccessor23.newInstance(Unknown Source) 2014-01-10 14:56:39 [iNFO] [sTDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) 2014-01-10 14:56:39 [iNFO] [sTDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.entity.EntityList.createEntityByID(EntityList.java:205) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.item.ItemMonsterPlacer.spawnCreature(ItemMonsterPlacer.java:175) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.item.ItemMonsterPlacer.onItemUse(ItemMonsterPlacer.java:81) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.item.ItemStack.tryPlaceItemIntoWorld(ItemStack.java:153) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.item.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:434) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.network.NetServerHandler.handlePlace(NetServerHandler.java:556) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.network.packet.Packet15Place.processPacket(Packet15Place.java:79) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.network.MemoryConnection.processReadPackets(MemoryConnection.java:89) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.network.NetServerHandler.networkTick(NetServerHandler.java:141) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.network.NetworkListenThread.networkTick(NetworkListenThread.java:54) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:109) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:691) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:587) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:129) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.server.ThreadMinecraftServer.run(ThreadMinecraftServer.java:16) 2014-01-10 14:56:39 [iNFO] [sTDERR] Caused by: java.lang.IllegalArgumentException: Attribute is already registered! 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.entity.ai.attributes.ServersideAttributeMap.func_111150_b(ServersideAttributeMap.java:37) 2014-01-10 14:56:39 [iNFO] [sTDERR] at jerry99666.skeith.mobs.EntitySkeith.applyEntityAttributes(EntitySkeith.java:44) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.entity.EntityLivingBase.<init>(EntityLivingBase.java:193) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.entity.EntityLiving.<init>(EntityLiving.java:85) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.entity.EntityCreature.<init>(EntityCreature.java:40) 2014-01-10 14:56:39 [iNFO] [sTDERR] at net.minecraft.entity.monster.EntityMob.<init>(EntityMob.java:19) 2014-01-10 14:56:39 [iNFO] [sTDERR] at jerry99666.skeith.mobs.EntitySkeith.<init>(EntitySkeith.java:18) 2014-01-10 14:56:39 [iNFO] [sTDERR] ... 19 more
-
MainMod File: package jerry99666.skeith.common; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler; import cpw.mods.fml.common.SidedProxy; import jerry99666.skeith.common.SkeithCommonProxy; import jerry99666.skeith.common.handlers.SkeithServerPacketHandler; import jerry99666.skeith.common.handlers.SkeithClientPacketHandler; import jerry99666.skeith.mobs.EntitySkeith; import jerry99666.skeith.mobs.RenderSkeith; import jerry99666.skeith.mobs.ModelSkeith; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityEggInfo; import net.minecraft.entity.EntityList; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.EnumCreatureType; import net.minecraft.item.Item; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.MinecraftForge; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.network.NetworkRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.common.network.NetworkMod.SidedPacketHandler; import cpw.mods.fml.common.SidedProxy; @NetworkMod(clientSideRequired=true,serverSideRequired=false, //Whether client side and server side are needed clientPacketHandlerSpec = @SidedPacketHandler(channels = {"Skeith"}, packetHandler = SkeithClientPacketHandler.class), //For clientside packet handling serverPacketHandlerSpec = @SidedPacketHandler(channels = {"Skeith"}, packetHandler = SkeithServerPacketHandler.class)) //For serverside packet handling //MOD BASICS @Mod(modid="Skeith",name="Skeith Mod",version="Release") public class skeith { @Instance("Skeith") //The instance, this is very important later on public static skeith instance = new skeith(); @SidedProxy(clientSide = "jerry99666.skeith.client.SkeithClientProxy", serverSide = "jerry99666.skeith.common.SkeithCommonProxy") //Tells Forge the location of your proxies public static SkeithCommonProxy proxy; @PreInit public void PreInit(FMLPreInitializationEvent e){ } @Init public void InitSkeith(FMLInitializationEvent event){ //Your main initialization method EntityRegistry.registerGlobalEntityID(EntitySkeith.class, "Skeith", EntityRegistry.findGlobalUniqueEntityId(), 0xeaeae9, 0xc99a03); EntityRegistry.addSpawn(EntitySkeith.class, 4, 1, 2, EnumCreatureType.monster); LanguageRegistry.instance().addStringLocalization("entity.Skeith.name", "Skeith"); //MULTIPLAYER ABILITY NetworkRegistry.instance().registerGuiHandler(this, proxy); //Registers the class that deals with GUI data } private void registerEntity(Class<EntitySkeith> class1, String string, int i, int j) { // TODO Auto-generated method stub } } Client Proxy: package jerry99666.skeith.client; import cpw.mods.fml.client.registry.RenderingRegistry; import cpw.mods.fml.common.registry.EntityRegistry; import jerry99666.skeith.common.SkeithCommonProxy; import jerry99666.skeith.mobs.EntitySkeith; import jerry99666.skeith.mobs.ModelSkeith; import jerry99666.skeith.mobs.RenderSkeith; import net.minecraftforge.client.MinecraftForgeClient; public class SkeithClientProxy extends SkeithCommonProxy { public void registerRenderInformation(){ RenderingRegistry.registerEntityRenderingHandler(EntitySkeith.class, new RenderSkeith(new ModelSkeith(), 0.5F)); EntityRegistry.registerGlobalEntityID(EntitySkeith.class, "Skeith", EntityRegistry.findGlobalUniqueEntityId(), 0xabcde9, 0xe98a03); } }
-
Hello I'm new to these forums and I found a bit of problem with my coding training. I have been using the tutorial to try and make a mod that will show a custom mob that I made in Techne. I can understand basic Java but I'm stuck on this. I can get it give me an egg in the Misc. Tab but it doesn't spawn my mob. my render file package jerry99666.skeith.mobs; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.model.ModelBase; import net.minecraft.client.renderer.entity.RenderLiving; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.passive.EntityCow; import net.minecraft.util.ResourceLocation; @SideOnly(Side.CLIENT) public class RenderSkeith extends RenderLiving { private static final ResourceLocation skin = new ResourceLocation("skeith", "textures/entity/Skeith.png"); public RenderSkeith(ModelBase modelbase, float shadowSize) { super(modelbase, shadowSize); } public void func_177_a(EntitySkeith entitySkeith, double d, double d1, double d2, float f, float f1) { super.doRenderLiving(entitySkeith, d, d1, d2, f, f1); } public void doRenderLiving(EntityLivingBase entityliving, double d, double d1, double d2, float f, float f1) { func_177_a((EntitySkeith) entityliving, d, d1, d2, f, f1); } @Override public void doRender(Entity entity, double d, double d1, double d2, float f, float f1) { func_177_a((EntitySkeith) entity, d, d1, d2, f, f1); } @Override protected ResourceLocation getEntityTexture(Entity entity) { return skin; } } my entity file package jerry99666.skeith.mobs; import net.minecraft.entity.EntityAgeable; import net.minecraft.entity.SharedMonsterAttributes; import net.minecraft.entity.ai.EntityAILookIdle; import net.minecraft.entity.ai.EntityAISwimming; import net.minecraft.entity.ai.EntityAIWatchClosest; import net.minecraft.entity.monster.EntityMob; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; public class EntitySkeith extends EntityMob { private String texture; public EntitySkeith(World par1World) { super(par1World); this.texture = "textures/mobs/skeith.png"; this.getNavigator().setAvoidsWater(true); this.setSize(1.5F, 0.9F); this.isImmuneToFire = false; float var2 = 0.25F; this.tasks.addTask(0, new EntityAISwimming(this)); this.tasks.addTask(6, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F)); this.tasks.addTask(7, new EntityAILookIdle(this)); } public boolean isAIEnabled() { return true; } protected void updateAITasks() { super.updateAITasks(); } public void setAIMoveSpeed(float par1) { super.setAIMoveSpeed(7F); this.setMoveForward(5F); } protected void applyEntityAttributes() { super.applyEntityAttributes(); this.getAttributeMap().func_111150_b(SharedMonsterAttributes.maxHealth); } protected void entityInit() { super.entityInit(); this.dataWatcher.addObject(16, Byte.valueOf((byte)0)); } public boolean interact(EntityPlayer par1EntityPlayer) { return false; } protected void fall(float par1) { super.fall(par1); } public EntitySkeith spawnBabyAnimal(EntityAgeable par1EntityAgeable) { return null; } public EntityAgeable createChild(EntityAgeable var1) { return null; } } my model file package jerry99666.skeith.mobs; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelSkeith extends ModelBase { //fields ModelRenderer LLegB; ModelRenderer LLegMB; ModelRenderer LLegM; ModelRenderer LLegMT; ModelRenderer LLegT; ModelRenderer RLegB; ModelRenderer RLegMB; ModelRenderer RLegM; ModelRenderer RLegMT; ModelRenderer RLegT; ModelRenderer WaistB; ModelRenderer WaistM; ModelRenderer WaistT; ModelRenderer TorsoB; ModelRenderer TorsoM; ModelRenderer TorsoT; ModelRenderer Neck; ModelRenderer Head; ModelRenderer RShoulder; ModelRenderer RArmT; ModelRenderer RArmB; ModelRenderer RWrist; ModelRenderer RThumb; ModelRenderer RIndex; ModelRenderer RMiddle; ModelRenderer RRing; ModelRenderer RPinkie; ModelRenderer LShoulder; ModelRenderer LArmT; ModelRenderer LArmB; ModelRenderer LWrist; ModelRenderer LThumb; ModelRenderer LIndex; ModelRenderer LMiddle; ModelRenderer LRing; ModelRenderer LPinkie; ModelRenderer LHorn1; ModelRenderer LHorn2; ModelRenderer LHorn3; ModelRenderer LHorn4; ModelRenderer LHorn5; ModelRenderer LHorn6; ModelRenderer LHorn7; ModelRenderer RHorn1; ModelRenderer RHorn2; ModelRenderer RHorn3; ModelRenderer RHorn4; ModelRenderer RHorn5; ModelRenderer LHorn8; public ModelSkeith() { textureWidth = 128; textureHeight = 128; LLegB = new ModelRenderer(this, 56, 76); LLegB.addBox(0F, 0F, 0F, 2, 5, 2); LLegB.setRotationPoint(4F, 16F, 0F); LLegB.setTextureSize(128, 128); LLegB.mirror = true; setRotation(LLegB, 0F, 0F, 0F); LLegMB = new ModelRenderer(this, 44, 76); LLegMB.addBox(0F, 0F, 0F, 3, 5, 3); LLegMB.setRotationPoint(3.5F, 11F, -0.5F); LLegMB.setTextureSize(128, 128); LLegMB.mirror = true; setRotation(LLegMB, 0F, 0F, 0F); LLegM = new ModelRenderer(this, 28, 76); LLegM.addBox(0F, 0F, 0F, 4, 5, 4); LLegM.setRotationPoint(3F, 6F, -1F); LLegM.setTextureSize(128, 128); LLegM.mirror = true; setRotation(LLegM, 0F, 0F, 0F); LLegMT = new ModelRenderer(this, 16, 76); LLegMT.addBox(0F, 0F, 0F, 3, 2, 3); LLegMT.setRotationPoint(3.5F, 4F, -0.5F); LLegMT.setTextureSize(128, 128); LLegMT.mirror = true; setRotation(LLegMT, 0F, 0F, 0F); LLegT = new ModelRenderer(this, 0, 76); LLegT.addBox(0F, 0F, 0F, 4, 4, 4); LLegT.setRotationPoint(3F, 0F, -1F); LLegT.setTextureSize(128, 128); LLegT.mirror = true; setRotation(LLegT, 0F, 0F, 0F); RLegB = new ModelRenderer(this, 56, 67); RLegB.addBox(0F, 0F, 0F, 2, 5, 2); RLegB.setRotationPoint(-6F, 16F, 0F); RLegB.setTextureSize(128, 128); RLegB.mirror = true; setRotation(RLegB, 0F, 0F, 0F); RLegMB = new ModelRenderer(this, 44, 67); RLegMB.addBox(0F, 0F, 0F, 3, 5, 3); RLegMB.setRotationPoint(-6.5F, 11F, -0.5F); RLegMB.setTextureSize(128, 128); RLegMB.mirror = true; setRotation(RLegMB, 0F, 0F, 0F); RLegM = new ModelRenderer(this, 28, 67); RLegM.addBox(0F, 0F, 0F, 4, 5, 4); RLegM.setRotationPoint(-7F, 6F, -1F); RLegM.setTextureSize(128, 128); RLegM.mirror = true; setRotation(RLegM, 0F, 0F, 0F); RLegMT = new ModelRenderer(this, 16, 67); RLegMT.addBox(0F, 0F, 0F, 3, 2, 3); RLegMT.setRotationPoint(-6.5F, 4F, -0.5F); RLegMT.setTextureSize(128, 128); RLegMT.mirror = true; setRotation(RLegMT, 0F, 0F, 0F); RLegT = new ModelRenderer(this, 0, 67); RLegT.addBox(0F, 0F, 0F, 4, 4, 4); RLegT.setRotationPoint(-7F, 0F, -1F); RLegT.setTextureSize(128, 128); RLegT.mirror = true; setRotation(RLegT, 0F, 0F, 0F); WaistB = new ModelRenderer(this, 0, 58); WaistB.addBox(0F, 0F, 0F, 5, 4, 5); WaistB.setRotationPoint(-2.5F, -5F, -2F); WaistB.setTextureSize(128, 128); WaistB.mirror = true; setRotation(WaistB, 0F, 0F, 0F); WaistM = new ModelRenderer(this, 20, 51); WaistM.addBox(0F, 0F, 0F, 3, 4, 3); WaistM.setRotationPoint(-1.5F, -9F, -1F); WaistM.setTextureSize(128, 128); WaistM.mirror = true; setRotation(WaistM, 0F, 0F, 0F); WaistT = new ModelRenderer(this, 0, 50); WaistT.addBox(0F, 0F, 0F, 5, 3, 5); WaistT.setRotationPoint(-2.5F, -12F, -2F); WaistT.setTextureSize(128, 128); WaistT.mirror = true; setRotation(WaistT, 0F, 0F, 0F); TorsoB = new ModelRenderer(this, 0, 40); TorsoB.addBox(0F, 0F, 0F, 9, 3, 7); TorsoB.setRotationPoint(-4.5F, -15F, -3F); TorsoB.setTextureSize(128, 128); TorsoB.mirror = true; setRotation(TorsoB, 0F, 0F, 0F); TorsoM = new ModelRenderer(this, 0, 27); TorsoM.addBox(0F, 0F, 0F, 13, 5, ; TorsoM.setRotationPoint(-6.5F, -20F, -4F); TorsoM.setTextureSize(128, 128); TorsoM.mirror = true; setRotation(TorsoM, 0F, 0F, 0F); TorsoT = new ModelRenderer(this, 0, 18); TorsoT.addBox(0F, 0F, 0F, 9, 2, 7); TorsoT.setRotationPoint(-4.5F, -22F, -3F); TorsoT.setTextureSize(128, 128); TorsoT.mirror = true; setRotation(TorsoT, 0F, 0F, 0F); Neck = new ModelRenderer(this, 0, 10); Neck.addBox(0F, 0F, 0F, 7, 2, 6); Neck.setRotationPoint(-3.5F, -24F, -2F); Neck.setTextureSize(128, 128); Neck.mirror = true; setRotation(Neck, 0F, 0F, 0F); Head = new ModelRenderer(this, 0, 0); Head.addBox(0F, 0F, 0F, 5, 5, 5); Head.setRotationPoint(-2.5F, -28F, -3F); Head.setTextureSize(128, 128); Head.mirror = true; setRotation(Head, 0F, 0F, 0F); RShoulder = new ModelRenderer(this, 44, 0); RShoulder.addBox(0F, 0F, 0F, 7, 5, 5); RShoulder.setRotationPoint(-14.5F, -21F, -2F); RShoulder.setTextureSize(128, 128); RShoulder.mirror = true; setRotation(RShoulder, 0F, 0F, 0F); RArmT = new ModelRenderer(this, 44, 10); RArmT.addBox(0F, 0F, 0F, 4, 4, 4); RArmT.setRotationPoint(-13F, -15F, -1F); RArmT.setTextureSize(128, 128); RArmT.mirror = true; setRotation(RArmT, 0F, 0F, 0F); RArmB = new ModelRenderer(this, 43, 18); RArmB.addBox(0F, 0F, 0F, 4, 6, 5); RArmB.setRotationPoint(-13.5F, -10F, -2F); RArmB.setTextureSize(128, 128); RArmB.mirror = true; setRotation(RArmB, 0F, 0F, 0F); RWrist = new ModelRenderer(this, 44, 29); RWrist.addBox(0F, 0F, 0F, 3, 2, 5); RWrist.setRotationPoint(-13F, -4F, -2F); RWrist.setTextureSize(128, 128); RWrist.mirror = true; setRotation(RWrist, 0F, 0F, 0F); RThumb = new ModelRenderer(this, 42, 36); RThumb.addBox(-11F, -3F, -3F, 1, 5, 1); RThumb.setRotationPoint(0F, 0F, 0F); RThumb.setTextureSize(128, 128); RThumb.mirror = true; setRotation(RThumb, 0F, 0F, 0F); RIndex = new ModelRenderer(this, 46, 36); RIndex.addBox(0F, 0F, 0F, 1, 5, 1); RIndex.setRotationPoint(-13F, -2F, -2F); RIndex.setTextureSize(128, 128); RIndex.mirror = true; setRotation(RIndex, 0F, 0F, 0F); RMiddle = new ModelRenderer(this, 50, 36); RMiddle.addBox(0F, 0F, 0F, 1, 6, 1); RMiddle.setRotationPoint(-13F, -2F, -1F); RMiddle.setTextureSize(128, 128); RMiddle.mirror = true; setRotation(RMiddle, 0F, 0F, 0F); RRing = new ModelRenderer(this, 54, 36); RRing.addBox(0F, 0F, 0F, 1, 6, 1); RRing.setRotationPoint(-13F, -2F, 0F); RRing.setTextureSize(128, 128); RRing.mirror = true; setRotation(RRing, 0F, 0F, 0F); RPinkie = new ModelRenderer(this, 58, 36); RPinkie.addBox(-13F, -2F, 1F, 1, 5, 1); RPinkie.setRotationPoint(0F, 0F, 0F); RPinkie.setTextureSize(128, 128); RPinkie.mirror = true; setRotation(RPinkie, 0F, 0F, 0F); LShoulder = new ModelRenderer(this, 68, 0); LShoulder.addBox(0F, 0F, 0F, 7, 5, 5); LShoulder.setRotationPoint(7.5F, -21F, -2F); LShoulder.setTextureSize(128, 128); LShoulder.mirror = true; setRotation(LShoulder, 0F, 0F, 0F); LArmT = new ModelRenderer(this, 68, 10); LArmT.addBox(0F, 0F, 0F, 4, 4, 4); LArmT.setRotationPoint(9F, -15F, -1F); LArmT.setTextureSize(128, 128); LArmT.mirror = true; setRotation(LArmT, 0F, 0F, 0F); LArmB = new ModelRenderer(this, 67, 18); LArmB.addBox(0F, 0F, 0F, 4, 6, 5); LArmB.setRotationPoint(9.5F, -10F, -2F); LArmB.setTextureSize(128, 128); LArmB.mirror = true; setRotation(LArmB, 0F, 0F, 0F); LWrist = new ModelRenderer(this, 68, 29); LWrist.addBox(0F, 0F, 0F, 3, 2, 5); LWrist.setRotationPoint(10F, -4F, -2F); LWrist.setTextureSize(128, 128); LWrist.mirror = true; setRotation(LWrist, 0F, 0F, 0F); LThumb = new ModelRenderer(this, 66, 36); LThumb.addBox(10F, -3F, -3F, 1, 5, 1); LThumb.setRotationPoint(0F, 0F, 0F); LThumb.setTextureSize(128, 128); LThumb.mirror = true; setRotation(LThumb, 0F, 0F, 0F); LIndex = new ModelRenderer(this, 70, 36); LIndex.addBox(0F, 0F, 0F, 1, 5, 1); LIndex.setRotationPoint(12F, -2F, -2F); LIndex.setTextureSize(128, 128); LIndex.mirror = true; setRotation(LIndex, 0F, 0F, 0F); LMiddle = new ModelRenderer(this, 74, 36); LMiddle.addBox(0F, 0F, -1F, 1, 6, 1); LMiddle.setRotationPoint(12F, -2F, 0F); LMiddle.setTextureSize(128, 128); LMiddle.mirror = true; setRotation(LMiddle, 0F, 0F, 0F); LRing = new ModelRenderer(this, 78, 36); LRing.addBox(0F, 0F, 0F, 1, 6, 1); LRing.setRotationPoint(12F, -2F, 0F); LRing.setTextureSize(128, 128); LRing.mirror = true; setRotation(LRing, 0F, 0F, 0F); LPinkie = new ModelRenderer(this, 82, 36); LPinkie.addBox(12F, -2F, 1F, 1, 5, 1); LPinkie.setRotationPoint(0F, 0F, 0F); LPinkie.setTextureSize(128, 128); LPinkie.mirror = true; setRotation(LPinkie, 0F, 0F, 0F); LHorn1.mirror = true; LHorn1 = new ModelRenderer(this, 20, 4); LHorn1.addBox(0F, 0F, 0F, 3, 1, 1); LHorn1.setRotationPoint(2F, -28F, -1F); LHorn1.setTextureSize(128, 128); LHorn1.mirror = true; setRotation(LHorn1, 0F, -0.3926991F, -0.1963495F); LHorn1.mirror = false; LHorn2 = new ModelRenderer(this, 28, 4); LHorn2.addBox(0F, 0F, 0.2F, 3, 1, 1); LHorn2.setRotationPoint(5F, -28.5F, 0F); LHorn2.setTextureSize(128, 128); LHorn2.mirror = true; setRotation(LHorn2, 0F, -0.7853982F, -0.3926991F); LHorn3 = new ModelRenderer(this, 36, 4); LHorn3.addBox(0F, 0F, 0.1F, 3, 1, 1); LHorn3.setRotationPoint(7F, -29.6F, 2F); LHorn3.setTextureSize(128, 128); LHorn3.mirror = true; setRotation(LHorn3, 0F, -1.003564F, -0.5890486F); LHorn4 = new ModelRenderer(this, 20, 6); LHorn4.addBox(-1F, 0F, 0F, 3, 1, 1); LHorn4.setRotationPoint(8.5F, -32F, 5F); LHorn4.setTextureSize(128, 128); LHorn4.mirror = true; setRotation(LHorn4, 0F, -1.570796F, -0.7853982F); LHorn5 = new ModelRenderer(this, 28, 6); LHorn5.addBox(0F, -0.3333333F, 0F, 3, 1, 1); LHorn5.setRotationPoint(8.5F, -33.2F, 7F); LHorn5.setTextureSize(128, 128); LHorn5.mirror = true; setRotation(LHorn5, 0F, -1.963495F, -0.7853982F); LHorn6 = new ModelRenderer(this, 36, 6); LHorn6.addBox(0F, 0.5F, 0.1F, 3, 1, 1); LHorn6.setRotationPoint(8F, -36F, 9F); LHorn6.setTextureSize(128, 128); LHorn6.mirror = true; setRotation(LHorn6, 0F, -2.356194F, -0.5890486F); LHorn7 = new ModelRenderer(this, 20, ; LHorn7.addBox(0.2F, 0F, 0F, 3, 1, 1); LHorn7.setRotationPoint(6F, -37F, 11F); LHorn7.setTextureSize(128, 128); LHorn7.mirror = true; setRotation(LHorn7, 0F, -2.748893F, -0.3926991F); LHorn8 = new ModelRenderer(this, 28, ; LHorn8.addBox(0F, 0F, 0F, 3, 1, 1); LHorn8.setRotationPoint(3F, -38.2F, 12.2F); LHorn8.setTextureSize(128, 128); LHorn8.mirror = true; setRotation(LHorn8, 0F, -3.141593F, -0.1963495F); RHorn1 = new ModelRenderer(this, 20, 0); RHorn1.addBox(0F, 0F, 0F, 3, 1, 1); RHorn1.setRotationPoint(-5F, -28.5F, 0F); RHorn1.setTextureSize(128, 128); RHorn1.mirror = true; setRotation(RHorn1, 0F, 0.3926991F, 0.1963495F); RHorn2 = new ModelRenderer(this, 28, 0); RHorn2.addBox(0F, 0F, 0F, 3, 1, 1); RHorn2.setRotationPoint(-7F, -29.7F, 2F); RHorn2.setTextureSize(128, 128); RHorn2.mirror = true; setRotation(RHorn2, 0F, 0.7853982F, 0.3926991F); RHorn3 = new ModelRenderer(this, 36, 0); RHorn3.addBox(0F, 0F, 0F, 3, 1, 1); RHorn3.setRotationPoint(-8.3F, -31.2F, 4F); RHorn3.setTextureSize(128, 128); RHorn3.mirror = true; setRotation(RHorn3, 0F, 1.003564F, 0.5890486F); RHorn4 = new ModelRenderer(this, 20, 2); RHorn4.addBox(-0.4F, 0F, 0F, 3, 1, 1); RHorn4.setRotationPoint(-8.5F, -33F, 6F); RHorn4.setTextureSize(128, 128); RHorn4.mirror = true; setRotation(RHorn4, 0F, 1.570796F, 0.7853982F); RHorn5 = new ModelRenderer(this, 28, 2); RHorn5.addBox(-0.7F, 0.2F, 0F, 3, 1, 1); RHorn5.setRotationPoint(-8F, -35F, 8F); RHorn5.setTextureSize(128, 128); RHorn5.mirror = true; setRotation(RHorn5, 0F, 1.963495F, 0.7853982F); LHorn8 = new ModelRenderer(this, 36, ; LHorn8.addBox(0F, 0F, 0F, 3, 1, 1); LHorn8.setRotationPoint(-3F, -38.2F, 11.2F); LHorn8.setTextureSize(128, 128); LHorn8.mirror = true; setRotation(LHorn8, 0F, 0F, -0.1963495F); } 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); LLegB.render(f5); LLegMB.render(f5); LLegM.render(f5); LLegMT.render(f5); LLegT.render(f5); RLegB.render(f5); RLegMB.render(f5); RLegM.render(f5); RLegMT.render(f5); RLegT.render(f5); WaistB.render(f5); WaistM.render(f5); WaistT.render(f5); TorsoB.render(f5); TorsoM.render(f5); TorsoT.render(f5); Neck.render(f5); Head.render(f5); RShoulder.render(f5); RArmT.render(f5); RArmB.render(f5); RWrist.render(f5); RThumb.render(f5); RIndex.render(f5); RMiddle.render(f5); RRing.render(f5); RPinkie.render(f5); LShoulder.render(f5); LArmT.render(f5); LArmB.render(f5); LWrist.render(f5); LThumb.render(f5); LIndex.render(f5); LMiddle.render(f5); LRing.render(f5); LPinkie.render(f5); LHorn1.render(f5); LHorn2.render(f5); LHorn3.render(f5); LHorn4.render(f5); LHorn5.render(f5); LHorn6.render(f5); LHorn7.render(f5); LHorn8.render(f5); RHorn1.render(f5); RHorn2.render(f5); RHorn3.render(f5); RHorn4.render(f5); RHorn5.render(f5); LHorn8.render(f5); } 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); } } What my model should show up as. If anyone can help me, I would greatly value it. and Yes the model is custom, it was build without a template.