Jump to content

[1.7.2] Get that door is upper or lower from metadata


Sokaya

Recommended Posts

Not helpfull, these things looks different in code:(

 

The two bits above are flags:

 

    0x8: If this bit is set, this is the top half of a door (else the lower half).

    0x4: If this bit is set, the door has swung counterclockwise around its hinge.

 

Do you not know how to use bit fields?

http://en.wikipedia.org/wiki/Bit_field

 

Edit: Sorry, that quoted section is from an old version, but the idea of bit fields is still accurate, just which field does what with which half of the door has changed.  The newer sections are longer and less succinct.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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