Class EmptyChunk
java.lang.Object
net.pl3x.map.core.world.Chunk
net.pl3x.map.core.world.EmptyChunk
-
Nested Class Summary
Nested classes/interfaces inherited from class Chunk
Chunk.BlockData, Chunk.Data -
Field Summary
Fields inherited from class Chunk
BLOCKS_PER_SECTION, data, EMPTY_BLOCKSTATE_ARRAY, EMPTY_BYTE_ARRAY, EMPTY_INT_ARRAY, EMPTY_LONG_ARRAY, EMPTY_STRING_ARRAY, populated, VALUES_PER_HEIGHTMAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBiome(int x, int y, int z) getBlockState(int x, int y, int z) longintgetLight(int x, int y, int z) intgetMaxY()intgetMinY()intgetWorldSurfaceY(int x, int z) booleanbooleanisFull()booleanpopulate()toString()
-
Constructor Details
-
EmptyChunk
-
-
Method Details
-
isFull
-
getBlockState
- Specified by:
getBlockStatein classChunk
-
getLight
-
getBiome
-
getMinY
-
getMaxY
-
getInhabitedTime
public long getInhabitedTime()- Specified by:
getInhabitedTimein classChunk
-
hasWorldSurfaceHeights
public boolean hasWorldSurfaceHeights()- Specified by:
hasWorldSurfaceHeightsin classChunk
-
noHeightmap
public boolean noHeightmap()- Overrides:
noHeightmapin classChunk
-
getWorldSurfaceY
public int getWorldSurfaceY(int x, int z) - Specified by:
getWorldSurfaceYin classChunk
-
populate
-
toString
-