Posted May 3, 201312 yr Hello. I've wrote some tutorials for modding in forge, you can find them here. If you have any suggestions or comments, post them here, i'll look if i can help. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 3, 201312 yr Author If i don't use them, my tile entity doesn't save variables. Why should i not use them if they are used in all default tile entity classes? If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 3, 201312 yr Author Oh, okay, not in all. But how is it made, i wonder? I does not save them for me without packet. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 3, 201312 yr Author TileEntitySignRenderer don't use packets, but can freely use tile entities fields. How that's made? If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 4, 201312 yr Author Oh. Tell me that way i should do that so it will save my variables and i'll do that. --- Added a tutorial on custom tile entity renderer. Enjoy. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 4, 201312 yr Author Okay, you are right, sorry. Then, help me... I have this code in my block public void onNeighborBlockChange(World world, int i, int j, int k, int par5) { TileEntityBlockWRail tl = (TileEntityBlockWRail) world.getBlockTileEntity(i, j, k); if (tl != null) { System.out.println("mid = "+tl.mid); } } So, i'm sure it saves my variables. And in my tile entity renderer i have int id = tl.mid; switch (id) { case 0: renderStraight(); break; case 1: renderCurveRight(); break; and so on... } But it always renders the 0 renderer. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 4, 201312 yr Author Aaaa!!! Okay. How do i do that? If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 4, 201312 yr Author I haven't wrote a tutorial on adding packets to tile entity renderer. --- While i was writing a tutorial, just placing packets in the TE worked... Now i need to s/l the game for TER to draw placed blocks correctly. If i place new, they are now rendered correctly. Wtf. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 4, 201312 yr Author I did it that way. --- Oh, i've fixed my bug. I just had to set block with flag 0x02 that will update blocks. Now it works fine. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 7, 201312 yr Author Added a new tutorial. Comment, please. http://www.minecraftforge.net/wiki/Multiple_blocks_structures If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 15, 201312 yr I really like it so far. I don't know whether you got my PM or not, but my idea is: Please make a tutorial on how to create a pipe system like to one in BuildCraft (I think?) to transport items in them. Thanks in advance! Keep the good work up!
May 17, 201312 yr Author Uh, i'm not sure if i can do that. If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
May 17, 201312 yr I followed your custom tile entity render tutorial, but my model that I made in techne came up upside down and off center in mc, any tips or solution to the problem?
May 17, 201312 yr Author I followed your custom tile entity render tutorial, but my model that I made in techne came up upside down and off center in mc, any tips or solution to the problem? GL11.glscalef(-1F, -1F, 1F) If i helped you, don't forget pressing "Thank You" button. Thanks for your time.
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.