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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Chunk
create
(@NotNull World world, @NotNull Region region, @NotNull net.querz.nbt.tag.CompoundTag tag, int index) boolean
abstract @NotNull Biome
getBiome
(int x, int y, int z) abstract @NotNull BlockState
getBlockState
(int x, int y, int z) @NotNull Chunk.BlockData[]
getData()
@Nullable Chunk.BlockData
getData
(int x, int z) long
abstract int
getLight
(int x, int y, int z) @NotNull Region
@NotNull World
getWorld()
abstract int
getWorldSurfaceY
(int x, int z) int
getX()
int
getY()
int
getZ()
int
hashCode()
abstract boolean
isFull()
abstract boolean
@NotNull Chunk
populate()
@NotNull String
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
-