Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Eliminator, Jun 26, 2015.
How do I get these values from a Chunk object?
Chunk.getX() and Chunk.getZ() will give you the coordinates of a chunk. You can use Player.getLocation().getChunk() to get the chunk that the player is in.
But there are 3 values.
Right..I'm not really sure what the third value means, but the wiki states that they are the location of the chunk, and the location of the player in the chunk.
OK the third value is what the Y chink would be if there was one, is just every 16 blocks.