Jump to content

Recommended Posts

Posted

I need help trying to figure a few things out and I figured I should ask this here. So I am working on my own mod and for one of my blocks it's going to have more then 16 types and so I am going to be categorizing the different types using NBT Data stored in the Tile Entities. However I need the individual types to have different looks based on the different types and if there is extra bits stored in the NBT. How would I got about having the block look for this information and choose different icons for the different sides based off NBT Data. I believe for the blocks being rendered when they are place within the world you would use getBlockTexture(), however to my understanding I would have to use custom Item Rendering to have the different appearances if the block is in one's inventory. Is there an example out there for this?

Posted

theres a class called TileEntitySpecialRenderer that does what youre asking for

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Posted

heu that no, but i know theres some other class that does it, just cant remember the name top my head

 

look at the wiki its surely there and obvious :P

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

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.