Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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?

  • Author

Well it did help a little bit, but what I really wanna do is to make a block with around 100 subtypes. I only want to change textures, that's all. So maybe some code will be helpfull. :)

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.