Jump to content

Recommended Posts

Posted

ok so ive got a rough idea how to do it but am in on the right track and how do i finish it?

 

Code

 

  Reveal hidden contents

 

Posted

Well that depends what you mean when you say "finish it" dude.

 

Displaying the texture by it's value (damage/meta) is done using "getBlockTextureFromSideAndMetadata" and returning an Icon from the array you created such as

 

return Icons[meta][side];	

Posted

world.setBlockMetadataWithNotify(x, y, z, VALUE, TYPE);

 

I've just answered a question on this, it's on the front page in this forum dude so look into it for what the "TYPE" is and the value is the new meta data value, if it's the same as the old one it won't do anything (notify systems).

Posted

ok so i added in whats hilighted with red but theres 2 erros on the meta and side, help?

 

 

  Reveal hidden contents

 

Posted

ok you dont have to be a dick about it. so now i crash when i click on my block tab:

 

 

  Reveal hidden contents

 

 

hand here's my code:

 

  Reveal hidden contents

 

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.