Jump to content

Recommended Posts

Posted

I think this is something a LOT of modders would like to know, at least I think. I tried to find it out, but I can't get it to work: sub-id's. Can someone make a tutorial on how to let a item/block have sub-id's?

mca.png
Posted

Do some research and learn metadata.

Well, that's the problem. "learn ***" doesn't help, since I told you:

 

I tried to find it out, but I can't get it to work.

With this I am meaning to say that I tried, but that it didn't work out. Oh and with tried I mean I tried like multiple HOURS... Bringing me to about 1% of understanding WHAT I have to learn doesn't help as long as you don't tell me HOW I have to learn it, or if you don't teach me.

 

Oh and I already know it has to do with "case 1:, case 2:, etc" but how I have to use it...

mca.png
Posted

'metadata' is not any form of sub ID's.  'metadata' is just 4 bits, 16 values, of whatever you want.  If a block wants to act different based on its metadata (from, say, a door open state, to different colors of wool, to different machines and tile entities in, say, RedPower2), it is all based on how you program with and react to your own 'metadata'.  :)

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.