GenuineSounds

Real chunk block coords.

Jun 18th, 2012
185
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. // Where x and z and actual world block positions.
  2. int blockWithinChunkX = (x < 0 ? 16 - -x : x) % 16;
  3. int blockWithinChunkZ = (z < 0 ? 16 - -z : z) % 16;
Advertisement
Comments
  • User was banned
Add Comment
Please, Sign In to add comment