mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
SPIGOT-6875: Update references to old world height limits
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7454ac76ed
commit
014fc854ad
@ -40,7 +40,7 @@ public interface Chunk extends PersistentDataHolder {
|
|||||||
* Gets a block from this chunk
|
* Gets a block from this chunk
|
||||||
*
|
*
|
||||||
* @param x 0-15
|
* @param x 0-15
|
||||||
* @param y 0-255
|
* @param y world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z 0-15
|
* @param z 0-15
|
||||||
* @return the Block
|
* @return the Block
|
||||||
*/
|
*/
|
||||||
|
@ -38,7 +38,7 @@ public interface ChunkSnapshot {
|
|||||||
* Get block type for block at corresponding coordinate in the chunk
|
* Get block type for block at corresponding coordinate in the chunk
|
||||||
*
|
*
|
||||||
* @param x 0-15
|
* @param x 0-15
|
||||||
* @param y 0-255
|
* @param y world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z 0-15
|
* @param z 0-15
|
||||||
* @return block material type
|
* @return block material type
|
||||||
*/
|
*/
|
||||||
@ -49,7 +49,7 @@ public interface ChunkSnapshot {
|
|||||||
* Get block data for block at corresponding coordinate in the chunk
|
* Get block data for block at corresponding coordinate in the chunk
|
||||||
*
|
*
|
||||||
* @param x 0-15
|
* @param x 0-15
|
||||||
* @param y 0-255
|
* @param y world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z 0-15
|
* @param z 0-15
|
||||||
* @return block material type
|
* @return block material type
|
||||||
*/
|
*/
|
||||||
@ -60,7 +60,7 @@ public interface ChunkSnapshot {
|
|||||||
* Get block data for block at corresponding coordinate in the chunk
|
* Get block data for block at corresponding coordinate in the chunk
|
||||||
*
|
*
|
||||||
* @param x 0-15
|
* @param x 0-15
|
||||||
* @param y 0-255
|
* @param y world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z 0-15
|
* @param z 0-15
|
||||||
* @return 0-15
|
* @return 0-15
|
||||||
* @deprecated Magic value
|
* @deprecated Magic value
|
||||||
@ -72,7 +72,7 @@ public interface ChunkSnapshot {
|
|||||||
* Get sky light level for block at corresponding coordinate in the chunk
|
* Get sky light level for block at corresponding coordinate in the chunk
|
||||||
*
|
*
|
||||||
* @param x 0-15
|
* @param x 0-15
|
||||||
* @param y 0-255
|
* @param y world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z 0-15
|
* @param z 0-15
|
||||||
* @return 0-15
|
* @return 0-15
|
||||||
*/
|
*/
|
||||||
@ -83,7 +83,7 @@ public interface ChunkSnapshot {
|
|||||||
* chunk
|
* chunk
|
||||||
*
|
*
|
||||||
* @param x 0-15
|
* @param x 0-15
|
||||||
* @param y 0-255
|
* @param y world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z 0-15
|
* @param z 0-15
|
||||||
* @return 0-15
|
* @return 0-15
|
||||||
*/
|
*/
|
||||||
@ -114,7 +114,7 @@ public interface ChunkSnapshot {
|
|||||||
* Get biome at given coordinates
|
* Get biome at given coordinates
|
||||||
*
|
*
|
||||||
* @param x X-coordinate (0-15)
|
* @param x X-coordinate (0-15)
|
||||||
* @param y Y-coordinate (0-255)
|
* @param y Y-coordinate (world minHeight (inclusive) - world maxHeight (exclusive))
|
||||||
* @param z Z-coordinate (0-15)
|
* @param z Z-coordinate (0-15)
|
||||||
* @return Biome at given coordinate
|
* @return Biome at given coordinate
|
||||||
*/
|
*/
|
||||||
@ -152,7 +152,7 @@ public interface ChunkSnapshot {
|
|||||||
/**
|
/**
|
||||||
* Test if section is empty
|
* Test if section is empty
|
||||||
*
|
*
|
||||||
* @param sy - section Y coordinate (block Y / 16, 0-255)
|
* @param sy - section Y coordinate (block Y / 16, world minHeight (inclusive) - world maxHeight (exclusive))
|
||||||
* @return true if empty, false if not
|
* @return true if empty, false if not
|
||||||
*/
|
*/
|
||||||
boolean isSectionEmpty(int sy);
|
boolean isSectionEmpty(int sy);
|
||||||
|
@ -237,7 +237,7 @@ public abstract class ChunkGenerator {
|
|||||||
* Get biome at x, z within chunk being generated
|
* Get biome at x, z within chunk being generated
|
||||||
*
|
*
|
||||||
* @param x - 0-15
|
* @param x - 0-15
|
||||||
* @param y - 0-255
|
* @param y - world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z - 0-15
|
* @param z - 0-15
|
||||||
* @return Biome value
|
* @return Biome value
|
||||||
*/
|
*/
|
||||||
@ -259,7 +259,7 @@ public abstract class ChunkGenerator {
|
|||||||
* Set biome at x, z within chunk being generated
|
* Set biome at x, z within chunk being generated
|
||||||
*
|
*
|
||||||
* @param x - 0-15
|
* @param x - 0-15
|
||||||
* @param y - 0-255
|
* @param y - world minHeight (inclusive) - world maxHeight (exclusive)
|
||||||
* @param z - 0-15
|
* @param z - 0-15
|
||||||
* @param bio - Biome value
|
* @param bio - Biome value
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user