Advertisement
MintTheFox

side example

Dec 15th, 2012
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public int getBlockTextureFromSideAndMetadata(int side, int md) {
  2. if (md == 0)
  3. {
  4. if(side == 0 || side == 1)
  5. {
  6. return blockIndexInTexture+1;
  7. } else
  8. {
  9. return blockIndexInTexture;
  10. }
  11. }
  12. return blockIndexInTexture;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement