Jump to content

[Unsolved] Crash from IItemRenderer for my custom model[1.6]


larsgerrits

Recommended Posts

Ok,i have another problem for you. I have made a custom model for my block, and it renders ingame, but when adding the IItemRenderer class, it crashes. Here's the crash report:

nov 03, 2013 6:34:32 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
nov 03, 2013 6:34:32 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
nov 03, 2013 6:34:32 PM net.minecraft.launchwrapper.LogWrapper log
INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
2013-11-03 18:34:32 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.20.916 for Minecraft 1.6.4 loading
2013-11-03 18:34:32 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) Client VM, version 1.7.0_45, running on Windows 8:x86:6.2, installed at C:\Program Files (x86)\Java\jre7
2013-11-03 18:34:32 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
2013-11-03 18:34:32 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg
2013-11-03 18:34:32 [iNFO] [sTDOUT] Loaded 109 rules from AccessTransformer config file forge_at.cfg
2013-11-03 18:34:32 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work!
2013-11-03 18:34:34 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
2013-11-03 18:34:34 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
2013-11-03 18:34:34 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main}
2013-11-03 18:34:35 [iNFO] [Minecraft-Client] Setting user: Larsg310
2013-11-03 18:34:35 [iNFO] [Minecraft-Client] (Session ID is null)
2013-11-03 18:34:37 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0
2013-11-03 18:34:38 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default
2013-11-03 18:34:39 [iNFO] [sTDOUT] 
2013-11-03 18:34:39 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-11-03 18:34:40 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-11-03 18:34:40 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-11-03 18:34:40 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization
2013-11-03 18:34:40 [iNFO] [sTDOUT] MinecraftForge v9.11.1.916 Initialized
2013-11-03 18:34:40 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.916 Initialized
2013-11-03 18:34:40 [iNFO] [sTDOUT] OpenAL initialized.
2013-11-03 18:34:40 [iNFO] [sTDOUT] 
2013-11-03 18:34:40 [iNFO] [sTDOUT] Replaced 101 ore recipies
2013-11-03 18:34:40 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization
2013-11-03 18:34:40 [iNFO] [ForgeModLoader] Reading custom logging properties from C:\Users\Lars\Desktop\Modding-Development\forge\mcp\jars\config\logging.properties
2013-11-03 18:34:40 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL
2013-11-03 18:34:41 [iNFO] [ForgeModLoader] Searching C:\Users\Lars\Desktop\Modding-Development\forge\mcp\jars\mods for mods
2013-11-03 18:34:48 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load
2013-11-03 18:34:48 [iNFO] [mcp] Activating mod mcp
2013-11-03 18:34:48 [iNFO] [FML] Activating mod FML
2013-11-03 18:34:48 [iNFO] [Forge] Activating mod Forge
2013-11-03 18:34:48 [iNFO] [techcraft] Activating mod techcraft
2013-11-03 18:34:48 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2013-11-03 18:34:48 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2013-11-03 18:34:48 [WARNING] [TechCraft] Mod TechCraft is missing a pack.mcmeta file, things may not work well
2013-11-03 18:34:48 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TechCraft
2013-11-03 18:34:48 [iNFO] [sTDOUT] 
2013-11-03 18:34:48 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-11-03 18:34:48 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-11-03 18:34:48 [iNFO] [sTDOUT] 
2013-11-03 18:34:48 [iNFO] [sTDOUT] 
2013-11-03 18:34:48 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-11-03 18:34:48 [iNFO] [ForgeModLoader] Registering Forge Packet Handler
2013-11-03 18:34:48 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler
2013-11-03 18:34:48 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-11-03 18:34:48 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-11-03 18:34:48 [iNFO] [sTDOUT] OpenAL initialized.
2013-11-03 18:34:48 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0
2013-11-03 18:34:48 [sEVERE] [ForgeModLoader] Unable to load localization from file file:/C:/Users/Lars/Desktop/Modding-Development/eclipse/TechCraft/bin/assets/techcraft/lang/en_US.lang
java.util.InvalidPropertiesFormatException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at java.util.XMLUtils.load(Unknown Source)
at java.util.Properties.loadFromXML(Unknown Source)
at cpw.mods.fml.common.registry.LanguageRegistry.loadLocalization(LanguageRegistry.java:168)
at cpw.mods.fml.common.registry.LanguageRegistry.loadLocalization(LanguageRegistry.java:143)
at larsg310.mod.techcraft.core.handler.LocalizationHandler.loadLanguages(LocalizationHandler.java:13)
at larsg310.mod.techcraft.TechCraft.preInit(TechCraft.java:36)
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: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:183)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:472)
at net.minecraft.client.Minecraft.run(Minecraft.java:807)
at net.minecraft.client.main.Main.main(Main.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at java.util.XMLUtils.getLoadingDoc(Unknown Source)
... 43 more
2013-11-03 18:34:49 [iNFO] [sTDOUT] 
2013-11-03 18:34:50 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_4093_redstonePowerCable.png
2013-11-03 18:34:51 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods
2013-11-03 18:34:51 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well
2013-11-03 18:34:51 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well
2013-11-03 18:34:51 [WARNING] [TechCraft] Mod TechCraft is missing a pack.mcmeta file, things may not work well
2013-11-03 18:34:51 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:TechCraft
2013-11-03 18:34:52 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/blocks/MISSING_ICON_TILE_4093_redstonePowerCable.png
2013-11-03 18:34:52 [iNFO] [sTDOUT] 
2013-11-03 18:34:52 [iNFO] [sTDOUT] SoundSystem shutting down...
2013-11-03 18:34:52 [iNFO] [sTDOUT]     Author: Paul Lamb, www.paulscode.com
2013-11-03 18:34:52 [iNFO] [sTDOUT] 
2013-11-03 18:34:52 [iNFO] [sTDOUT] 
2013-11-03 18:34:52 [iNFO] [sTDOUT] Starting up SoundSystem...
2013-11-03 18:34:52 [iNFO] [sTDOUT] Initializing LWJGL OpenAL
2013-11-03 18:34:52 [iNFO] [sTDOUT]     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
2013-11-03 18:34:53 [iNFO] [sTDOUT] OpenAL initialized.
2013-11-03 18:34:53 [iNFO] [sTDOUT] 
2013-11-03 18:34:56 [sEVERE] [Minecraft-Client] Realms: Invalid session id
2013-11-03 18:35:33 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.4
2013-11-03 18:35:33 [iNFO] [Minecraft-Server] Generating keypair
2013-11-03 18:35:35 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1489f96)
2013-11-03 18:35:35 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1489f96)
2013-11-03 18:35:36 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1489f96)
2013-11-03 18:35:36 [iNFO] [Minecraft-Server] Preparing start region for level 0
2013-11-03 18:35:37 [iNFO] [Minecraft-Server] Preparing spawn area: 14%
2013-11-03 18:35:38 [iNFO] [Minecraft-Server] Preparing spawn area: 81%
2013-11-03 18:35:39 [iNFO] [sTDOUT] loading single player
2013-11-03 18:35:39 [iNFO] [Minecraft-Server] Larsg310[/127.0.0.1:0] logged in with entity id 197 at (113.64291027474123, 64.625, 417.5391097977608)
2013-11-03 18:35:39 [iNFO] [Minecraft-Server] Larsg310 joined the game
2013-11-03 18:35:40 [iNFO] [sTDOUT] Setting up custom skins
2013-11-03 18:35:40 [WARNING] [Minecraft-Server] Can't keep up! Did the system time change, or is the server overloaded?
2013-11-03 18:35:45 [iNFO] [Minecraft-Server] Stopping server
2013-11-03 18:35:45 [iNFO] [Minecraft-Server] Saving players
2013-11-03 18:35:45 [iNFO] [Minecraft-Server] Larsg310 left the game
2013-11-03 18:35:45 [iNFO] [Minecraft-Server] Saving worlds
2013-11-03 18:35:45 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Overworld
2013-11-03 18:35:46 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/Nether
2013-11-03 18:35:46 [iNFO] [Minecraft-Server] Saving chunks for level 'New World'/The End
2013-11-03 18:35:50 [iNFO] [ForgeModLoader] Unloading dimension 0
2013-11-03 18:35:50 [iNFO] [ForgeModLoader] Unloading dimension -1
2013-11-03 18:35:50 [iNFO] [ForgeModLoader] Unloading dimension 1
2013-11-03 18:35:51 [iNFO] [sTDERR] java.lang.NullPointerException
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.tileentity.TileEntity.getBlockType(TileEntity.java:224)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.tileentity.TileEntity.func_85027_a(TileEntity.java:283)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntityAt(TileEntityRenderer.java:178)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at larsg310.mod.techcraft.renderer.item.ItemRedstonePowerCableRenderer.renderItem(ItemRedstonePowerCableRenderer.java:28)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:163)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:465)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:976)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:206)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:141)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1014)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:945)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.run(Minecraft.java:837)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-11-03 18:35:51 [iNFO] [sTDERR] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-11-03 18:35:51 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-11-03 18:35:51 [iNFO] [sTDOUT] // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~]
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] Time: 3-11-13 18:35
2013-11-03 18:35:51 [iNFO] [sTDOUT] Description: Unexpected error
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] java.lang.NullPointerException
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.tileentity.TileEntity.getBlockType(TileEntity.java:224)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.tileentity.TileEntity.func_85027_a(TileEntity.java:283)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntityAt(TileEntityRenderer.java:178)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at larsg310.mod.techcraft.renderer.item.ItemRedstonePowerCableRenderer.renderItem(ItemRedstonePowerCableRenderer.java:28)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:163)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:465)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:976)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:206)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:141)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1014)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:945)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:837)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] A detailed walkthrough of the error, its code path and all known details is as follows:
2013-11-03 18:35:51 [iNFO] [sTDOUT] ---------------------------------------------------------------------------------------
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] -- Head --
2013-11-03 18:35:51 [iNFO] [sTDOUT] Stacktrace:
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.tileentity.TileEntity.getBlockType(TileEntity.java:224)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.tileentity.TileEntity.func_85027_a(TileEntity.java:283)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.tileentity.TileEntityRenderer.renderTileEntityAt(TileEntityRenderer.java:178)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at larsg310.mod.techcraft.renderer.item.ItemRedstonePowerCableRenderer.renderItem(ItemRedstonePowerCableRenderer.java:28)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraftforge.client.ForgeHooksClient.renderInventoryItem(ForgeHooksClient.java:163)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.entity.RenderItem.renderItemAndEffectIntoGUI(RenderItem.java:465)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.gui.GuiIngame.renderInventorySlot(GuiIngame.java:976)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraftforge.client.GuiIngameForge.renderHotbar(GuiIngameForge.java:206)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraftforge.client.GuiIngameForge.renderGameOverlay(GuiIngameForge.java:141)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] -- Affected level --
2013-11-03 18:35:51 [iNFO] [sTDOUT] Details:
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level name: MpServer
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	All players: 1 total; [EntityClientPlayerMP['Larsg310'/197, l='MpServer', x=113,64, y=66,25, z=417,54]]
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Chunk stats: MultiplayerChunkCache: 45
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level seed: 0
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level generator: ID 00 - default, ver 1. Features enabled: false
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level generator options: 
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level spawn location: World: (-88,64,248), Chunk: (at 8,4,8 in -6,15; contains blocks -96,0,240 to -81,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level time: 304620 game time, 6000 day time
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level dimension: 0
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level storage version: 0x00000 - Unknown?
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Forced entities: 3 total; [EntityClientPlayerMP['Larsg310'/197, l='MpServer', x=113,64, y=66,25, z=417,54], EntityChicken['Chicken'/196, l='MpServer', x=101,59, y=62,51, z=376,56], EntityMinecartChest['entity.MinecartChest.name'/210, l='MpServer', x=172,50, y=47,34, z=388,50]]
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Retry entities: 0 total; []
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Server brand: fml,forge
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Server type: Integrated singleplayer server
2013-11-03 18:35:51 [iNFO] [sTDOUT] Stacktrace:
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:440)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2311)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:862)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Unknown Source)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:131)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:27)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 
2013-11-03 18:35:51 [iNFO] [sTDOUT] -- System Details --
2013-11-03 18:35:51 [iNFO] [sTDOUT] Details:
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Minecraft Version: 1.6.4
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Operating System: Windows 8 (x86) version 6.2
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Java Version: 1.7.0_45, Oracle Corporation
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Memory: 861542456 bytes (821 MB) / 1060372480 bytes (1011 MB) up to 1060372480 bytes (1011 MB)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	AABB Pool Size: 17611 (986216 bytes; 0 MB) allocated, 17611 (986216 bytes; 0 MB) used
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Suspicious classes: FML and Forge are installed
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	IntCache: cache: 5, tcache: 0, allocated: 1, tallocated: 63
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	FML: MCP v8.11 FML v6.4.20.916 Minecraft Forge 9.11.1.916 4 mods loaded, 4 mods active
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	FML{6.4.20.916} [Forge Mod Loader] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Forge{9.11.1.916} [Minecraft Forge] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	techcraft{Pre-Alpha v0.0.1} [TechCraft] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Launched Version: 1.6.2
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	LWJGL: 2.9.0
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	OpenGL: AMD Radeon HD 7400G GL version 4.2.11931 Compatibility Profile Context, ATI Technologies Inc.
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Is Modded: Definitely; Client brand changed to 'fml,forge'
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Type: Client (map_client.txt)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Resource Pack: Default
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Current Language: English (US)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Profiler Position: N/A (disabled)
2013-11-03 18:35:51 [iNFO] [sTDOUT] 	Vec3 Pool Size: 1358 (76048 bytes; 0 MB) allocated, 1358 (76048 bytes; 0 MB) used
2013-11-03 18:35:51 [iNFO] [sTDOUT] #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Lars\Desktop\Modding-Development\forge\mcp\jars\.\crash-reports\crash-2013-11-03_18.35.51-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

I don't know how to fix it, everything seems fine to me.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Hi

 

Your TileEntitySpecialRenderer is throwing an exception for some reason.

 

I suggest adding a breakpoint in your renderTileEntityAt, or alternatively at the try statement in

 

TileEntityRenderer.
    public void renderTileEntityAt(TileEntity par1TileEntity, double par2, double par4, double par6, float par8)
    {
        TileEntitySpecialRenderer tileentityspecialrenderer = this.getSpecialRendererForEntity(par1TileEntity);

        if (tileentityspecialrenderer != null)
        {
            try
            {
                tileentityspecialrenderer.renderTileEntityAt(par1TileEntity, par2, par4, par6, par8);
            }
            catch (Throwable throwable)
            {
                CrashReport crashreport = CrashReport.makeCrashReport(throwable, "Rendering Tile Entity");
                CrashReportCategory crashreportcategory = crashreport.makeCategory("Tile Entity Details");
                par1TileEntity.func_85027_a(crashreportcategory);
                throw new ReportedException(crashreport);
            }
        }
    }

 

Step through it until you see it throw, with any luck the cause will be obvious.

 

-TGG

Link to comment
Share on other sites

renderTileEntityAt tries to load a TileEntity that doesn't exist.

The TileEntity doesn't exist normally outside of the world (in the inventory).

You can't use it directly for the IItemRenderer.

And how would i be able to solve this? This is the first time i'm doing custom item renderers.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

What code in my TileEntity? There's no code in my TileEntity, it's just empty, only a empty constructor.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

I have followed a tutorial and used the EXACT same code, except for the TileEntity name. I guess i will need to copy the TileEntitySpecialRenderer class...

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Here's what I found inside Mystcraft and used it, works well:

 

Client proxy:

        TileEntitySpecialRenderer render = new PedestalRenderer();
	ClientRegistry.bindTileEntitySpecialRenderer(TileEntityDisplayPedestal.class, render); //TESR as normal
        MinecraftForgeClient.registerItemRenderer(BlockPedestal.instance.blockID, new ItemRenderPedestal(render, new TileEntityDisplayPedestal()));

 

IItemRenderer:

public class ItemRenderPedestal implements IItemRenderer {
TileEntitySpecialRenderer render;
private TileEntity dummytile;
  
public ItemRenderPedestal(TileEntitySpecialRenderer render, TileEntity dummy) {
    this.render = render;
    this.dummytile = dummy;
}

@Override
public boolean handleRenderType(ItemStack item, ItemRenderType type) {
	return true;
}

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

@Override
public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
	if (type == IItemRenderer.ItemRenderType.ENTITY)
		GL11.glTranslatef(-0.5F, 0.0F, -0.5F);
	this.render.renderTileEntityAt(this.dummytile, 0.0D, 0.0D, 0.0D, 0.0F);
}
}

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Thanks, I had to fiddle a bit around a bit to make it work, but it works!

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • So I saw that mixin is shipped as a library with forge, but is it available for 1.7.10 ?  
    • So I've read the EULA, and lets be straight...     If I split my modpack(of my mods, yeah I'm nuts) into several(many) individual mods(like just one boss) with minor additions(plus not working together), then have a complete/modpack version on patreon/onlyfans having each addon work together... Would people buy my idea?
    • German A1 – C1, TestDAF, Goethe B1, B2, C1, C2, valid GOETHE certificate German A1 – C1, TestDAF, Goethe B1, B2, C1, C2, valid GOETHE certificate(+27(838-80-8170
    • Done, it still crashed. New log https://paste.ee/p/kYv6e
    • I am migrating a mod from 1.16.5 to 1.20.2 The version for 1.16.5 can be found here https://github.com/beothorn/automataCraft For the block called automata_start, it uses TileEntities and has blockstates, model/block and textures on json files. This is currently working fine on 1.16.5 https://github.com/beothorn/automataCraft/tree/master/src/main/resources/assets/automata For 1.20.2 I migrated the logic from TileEntities to BlockEntity. The mod is working fine. All blocks and Items are working with the correct textures except for the textures for each state of the automata_start block. No changes where made to the json files. This is the branch I am working on (there were some refactorings, but all is basically the same): https://github.com/beothorn/automataCraft/tree/1_20/src/main/resources/assets/automata The only difference I can think that may be related is that i had to implement createBlockStateDefinition on the BaseEntityBlock: https://github.com/beothorn/automataCraft/blob/1_20/src/main/java/br/com/isageek/automata/automata/AutomataStartBlock.java#L43 This is driving me crazy. I know the jsons are being loaded as I put a breakpoint at `net.minecraft.client.resources.model.ModelBakery#loadModel` and I can see BlockModelDefinition.fromJsonElement being called with automata_start. I also printed the state from the arguments of the tick function call and they look correct (https://github.com/beothorn/automataCraft/blob/1_20/src/main/java/br/com/isageek/automata/automata/Ticker.java#L32 ): blockState Block{automata:automata_start}[state=loadreplaceables] In game, all I see is the no textures. I think it is weird it is not the "missing texture" texture so I think it may be related to the material, but I had no success tweaking it (https://github.com/beothorn/automataCraft/blob/1_20/src/main/java/br/com/isageek/automata/automata/AutomataStartBlock.java#L37).   public static final Property<AutomataStartState> state = EnumProperty.create("state", AutomataStartState.class); private final AtomicReference<RegistryObject<BlockEntityType<?>>> blockEntityType; private final Map<String, RegistryObject<Block>> registeredBlocks; public AutomataStartBlock( final AtomicReference<RegistryObject<BlockEntityType<?>>> blockEntityType, final Map<String, RegistryObject<Block>> registeredBlocks ) { super(BlockBehaviour.Properties.of().mapColor(MapColor.STONE).strength(1.5F, 6.0F)); this.blockEntityType = blockEntityType; this.registeredBlocks = registeredBlocks; this.registerDefaultState(this.getStateDefinition().any().setValue(state, AutomataStartState.LOAD_REPLACEABLES)); } @Override protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> stateBuilder) { stateBuilder.add(state); }     So my cry for help is, anyone has any ideas? Is there a way to easily debug this, for example somewhere where I can list the textures for a given state, or make sure this is loaded?   Thanks in advance for the hints
  • Topics

×
×
  • Create New...

Important Information

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