Jump to content

Recommended Posts

Posted

This is a problem I've had in 1.5.2 and 1.6.1. I'm creating a tile entity, however whenever I render my model I get this error:

2013-07-03 16:56:38 [iNFO] [sTDOUT] ---- Minecraft Crash Report ----
2013-07-03 16:56:38 [iNFO] [sTDOUT] // Ouch. That hurt 
2013-07-03 16:56:38 [iNFO] [sTDOUT] 
2013-07-03 16:56:38 [iNFO] [sTDOUT] Time: 03/07/13 16:56
2013-07-03 16:56:38 [iNFO] [sTDOUT] Description: Unexpected error
2013-07-03 16:56:38 [iNFO] [sTDOUT] 
2013-07-03 16:56:38 [iNFO] [sTDOUT] java.lang.IllegalStateException: Already tesselating!
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.Tessellator.startDrawing(Tessellator.java:343)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.Tessellator.startDrawingQuads(Tessellator.java:333)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.model.TexturedQuad.draw(TexturedQuad.java:48)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.model.ModelBox.render(ModelBox.java:103)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.model.ModelRenderer.compileDisplayList(ModelRenderer.java:296)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.model.ModelRenderer.render(ModelRenderer.java:129)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.lemonlake.dontstarvemod.ModelFirePit.render(ModelFirePit.java:176)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.lemonlake.dontstarvemod.TileEntityFirePitRenderer.renderWorldBlock(TileEntityFirePitRenderer.java:33)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at cpw.mods.fml.client.registry.RenderingRegistry.renderWorldBlock(RenderingRegistry.java:152)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.src.FMLRenderAccessLibrary.renderWorldBlock(FMLRenderAccessLibrary.java:57)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.RenderBlocks.renderBlockByRenderType(RenderBlocks.java:485)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:224)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1538)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1129)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1006)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:930)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.Minecraft.run(Minecraft.java:822)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.client.main.Main.main(Main.java:93)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.launch(Launch.java:57)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 	at net.minecraft.launchwrapper.Launch.main(Launch.java:18)
2013-07-03 16:56:38 [iNFO] [sTDOUT] 

 

Here are all my classes:

DontStarveMod.java http://pastebin.com/XPXfNb4i

BlockFirePit.java http://pastebin.com/Weuc5VFG

ModelFirePit.java http://pastebin.com/h81v02RZ

TileEntityFirePit.java http://pastebin.com/xAVqCrzJ

TileEntityFirePitRenderer.java http://pastebin.com/Tbcnf5Pn

 

As well as this, I can't find the new method to bind a texture. Anyone know of it?

Aspergers is annoying sometimes :(

Posted

This is a problem I've had in 1.5.2 and 1.6.1. I'm creating a tile entity, however whenever I render my model I get this error

 

This stems from either not installing something correctly (delete everything and reinstall) or you've seriously messed up your render/model code (which it doesn't look like).

 

As well as this, I can't find the new method to bind a texture. Anyone know of it?

 

ResourceLocation rl = new ResourceLocation(es.getModelTexture());
FMLClientHandler.instance().getClient().renderEngine.func_110577_a(rl);

func_110577_a is the one you're looking for.

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.

Posted

 

This is a problem I've had in 1.5.2 and 1.6.1. I'm creating a tile entity, however whenever I render my model I get this error

 

This stems from either not installing something correctly (delete everything and reinstall) or you've seriously messed up your render/model code (which it doesn't look like).

 

As well as this, I can't find the new method to bind a texture. Anyone know of it?

 

ResourceLocation rl = new ResourceLocation(es.getModelTexture());
FMLClientHandler.instance().getClient().renderEngine.func_110577_a(rl);

func_110577_a is the one you're looking for.

 

 

I've already re-installed at least four times, so it has to be a problem in the code somewhere. I've checked many tutorials and I don't understand what I've done wrong here.

 

Thanks, though.

Aspergers is annoying sometimes :(

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



×
×
  • Create New...

Important Information

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