oitsjustjose opened this issue 6 years ago ยท 0 comments
Use this for determining what chunk you're in:
chunkX = ((int) Math.floor(posX) & 15) chunkZ = ((int) Math.floor(posZ) & 15)