diff options
author | md_5 <git@md-5.net> | 2018-08-29 07:43:54 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-29 07:43:54 +1000 |
commit | 9736896362b5ff5e6d79f3201983b9b3c2ddda26 (patch) | |
tree | 3ca09523b48ae1d744b4529ba9fc9569ac1424e1 | |
parent | 410a601d008d1c13612815b900f28c00ac4b90a6 (diff) | |
download | bukkit-9736896362b5ff5e6d79f3201983b9b3c2ddda26.tar bukkit-9736896362b5ff5e6d79f3201983b9b3c2ddda26.tar.gz bukkit-9736896362b5ff5e6d79f3201983b9b3c2ddda26.tar.lz bukkit-9736896362b5ff5e6d79f3201983b9b3c2ddda26.tar.xz bukkit-9736896362b5ff5e6d79f3201983b9b3c2ddda26.zip |
Update ChunkSnapshot docs about valid coordinates
-rw-r--r-- | src/main/java/org/bukkit/ChunkSnapshot.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/org/bukkit/ChunkSnapshot.java b/src/main/java/org/bukkit/ChunkSnapshot.java index aa1394ee..50613752 100644 --- a/src/main/java/org/bukkit/ChunkSnapshot.java +++ b/src/main/java/org/bukkit/ChunkSnapshot.java @@ -36,7 +36,7 @@ public interface ChunkSnapshot { * Get block type for block at corresponding coordinate in the chunk * * @param x 0-15 - * @param y 0-127 + * @param y 0-255 * @param z 0-15 * @return block material type */ @@ -46,7 +46,7 @@ public interface ChunkSnapshot { * Get block data for block at corresponding coordinate in the chunk * * @param x 0-15 - * @param y 0-127 + * @param y 0-255 * @param z 0-15 * @return block material type */ @@ -56,7 +56,7 @@ public interface ChunkSnapshot { * Get block data for block at corresponding coordinate in the chunk * * @param x 0-15 - * @param y 0-127 + * @param y 0-255 * @param z 0-15 * @return 0-15 * @deprecated Magic value @@ -68,7 +68,7 @@ public interface ChunkSnapshot { * Get sky light level for block at corresponding coordinate in the chunk * * @param x 0-15 - * @param y 0-127 + * @param y 0-255 * @param z 0-15 * @return 0-15 */ @@ -79,7 +79,7 @@ public interface ChunkSnapshot { * chunk * * @param x 0-15 - * @param y 0-127 + * @param y 0-255 * @param z 0-15 * @return 0-15 */ @@ -88,8 +88,8 @@ public interface ChunkSnapshot { /** * Gets the highest non-air coordinate at the given coordinates * - * @param x X-coordinate of the blocks - * @param z Z-coordinate of the blocks + * @param x X-coordinate of the blocks (0-15) + * @param z Z-coordinate of the blocks (0-15) * @return Y-coordinate of the highest non-air block */ int getHighestBlockYAt(int x, int z); @@ -97,8 +97,8 @@ public interface ChunkSnapshot { /** * Get biome at given coordinates * - * @param x X-coordinate - * @param z Z-coordinate + * @param x X-coordinate (0-15) + * @param z Z-coordinate (0-15) * @return Biome at given coordinate */ Biome getBiome(int x, int z); @@ -106,8 +106,8 @@ public interface ChunkSnapshot { /** * Get raw biome temperature (0.0-1.0) at given coordinate * - * @param x X-coordinate - * @param z Z-coordinate + * @param x X-coordinate (0-15) + * @param z Z-coordinate (0-15) * @return temperature at given coordinate */ double getRawBiomeTemperature(int x, int z); @@ -122,7 +122,7 @@ public interface ChunkSnapshot { /** * Test if section is empty * - * @param sy - section Y coordinate (block Y / 16) + * @param sy - section Y coordinate (block Y / 16, 0-255) * @return true if empty, false if not */ boolean isSectionEmpty(int sy); |