public class ChunkSection
extends java.lang.Object
Constructor and Description |
---|
ChunkSection(int y,
boolean storeSkylight) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
get(int x,
int y,
int z) |
NibbleArray |
getBlockLight() |
int |
getBlockLight(int x,
int y,
int z) |
BlockStateContainer<IBlockState> |
getData() |
IFluidState |
getFluidState(int x,
int y,
int z) |
NibbleArray |
getSkyLight() |
int |
getSkyLight(int x,
int y,
int z) |
int |
getYLocation() |
boolean |
isEmpty() |
boolean |
needsRandomTick() |
boolean |
needsRandomTickAny() |
boolean |
needsRandomTickFluid() |
void |
recalculateRefCounts() |
void |
set(int x,
int y,
int z,
IBlockState state) |
void |
setBlockLight(int x,
int y,
int z,
int value) |
void |
setBlockLight(NibbleArray newBlocklightArray) |
void |
setSkyLight(int x,
int y,
int z,
int value) |
void |
setSkyLight(NibbleArray newSkylightArray) |
public IBlockState get(int x, int y, int z)
public IFluidState getFluidState(int x, int y, int z)
public void set(int x, int y, int z, IBlockState state)
public boolean isEmpty()
public boolean needsRandomTickAny()
public boolean needsRandomTick()
public boolean needsRandomTickFluid()
public int getYLocation()
public void setSkyLight(int x, int y, int z, int value)
public int getSkyLight(int x, int y, int z)
public void setBlockLight(int x, int y, int z, int value)
public int getBlockLight(int x, int y, int z)
public void recalculateRefCounts()
public BlockStateContainer<IBlockState> getData()
public NibbleArray getBlockLight()
public NibbleArray getSkyLight()
public void setBlockLight(NibbleArray newBlocklightArray)
public void setSkyLight(NibbleArray newSkylightArray)