Jump to content

Recommended Posts

Posted

I didn't look too closely at your code, but for most directional blocks they use metadata to indicate the rotation.  The trick is that (unfortunately) many of the values are different depending on the type of block.  In other words, having a bed face North uses different value than steps.  So it really depends on the type of block.

 

For reference, you can see explanation of most/all blocks' metadata values here: http://minecraft.gamepedia.com/Data_values#Data

 

So you should make sure your code puts the correct metadata for the particular block type.  If it is custom block, then you need to make sure the icons and stuff are returned according to some metadata scheme.

Check out my tutorials here: http://jabelarminecraft.blogspot.com/

  • Zaphinine changed the title to [deleted]

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.