Jump to content

Recommended Posts

Posted

Hey guys, it's me again with another crazy question. How can I make a block with more than 16 metadatas(maybe around 100 metadatas). I know that a regular block can only have 16 metadatas and that I need a tile entity to make more of them. So can somebody help me with that?

Posted

I did but can someone help me? :/

 

Heres some info on blocks which also mentions TE's and Metadata.

http://greyminecraftcoder.blogspot.com.au/2013/07/blocks.html

Btw that blog is one of the most awesome resources written on the inner workings of minecraft!

 

 

Now that being said, you would have to store whatever you want to store inside the TileEntity ang get it from the TE when it's time to do so. For me it sounds like you will need a custom renderer for your TE, either a TESR or an ISBRH. Tutorials for Both can be found on the forge wiki. I recommend the TESR(Tile Entity Special Renderer), there you grab the TileEntity and get the texture from it.

 

You should be able to find the tutorial on get your block to render normaly using an TESR, then adjust it to get the texture from a field inside the TileEntity.

 

If you are unable to do so, then I would suggest that you look into how TileEntities work by looking into exisitng TileEntities and articles about them. Also reading more up on OOP may be of use.

 

If you guys dont get it.. then well ya.. try harder...

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.