Package net.pl3x.map.core.world
Class Chunk
java.lang.Object
net.pl3x.map.core.world.Chunk
- Direct Known Subclasses:
ChunkAnvil113
,ChunkAnvil115
,ChunkAnvil116
,ChunkAnvil118
,EmptyChunk
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Chunk
boolean
abstract Biome
getBiome
(int x, int y, int z) abstract BlockState
getBlockState
(int x, int y, int z) getData()
@Nullable Chunk.BlockData
getData
(int x, int z) long
abstract int
getLight
(int x, int y, int z) getWorld()
abstract int
getWorldSurfaceY
(int x, int z) int
getX()
int
getY()
int
getZ()
int
hashCode()
abstract boolean
isFull()
abstract boolean
populate()
toString()
-
Field Details
-
data
-
populated
protected boolean populated
-
-
Constructor Details
-
Chunk
-
Chunk
-
-
Method Details
-
getWorld
-
getRegion
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
getInhabitedTime
public long getInhabitedTime() -
isFull
public abstract boolean isFull() -
noHeightmap
public abstract boolean noHeightmap() -
getWorldSurfaceY
public abstract int getWorldSurfaceY(int x, int z) -
getBlockState
-
getLight
public abstract int getLight(int x, int y, int z) -
getBiome
-
populate
-
getData
-
getData
-
create
-
equals
-
hashCode
public int hashCode() -
toString
-