public class ExtendedBlockStorage
extends java.lang.Object
Constructor and Description |
---|
ExtendedBlockStorage(int y,
boolean storeSkylight) |
Modifier and Type | Method and Description |
---|---|
IBlockState |
get(int x,
int y,
int z) |
NibbleArray |
getBlocklightArray() |
BlockStateContainer |
getData() |
int |
getExtBlocklightValue(int x,
int y,
int z) |
int |
getExtSkylightValue(int x,
int y,
int z) |
boolean |
getNeedsRandomTick() |
NibbleArray |
getSkylightArray() |
int |
getYLocation() |
boolean |
isEmpty() |
void |
removeInvalidBlocks() |
void |
set(int x,
int y,
int z,
IBlockState state) |
void |
setBlocklightArray(NibbleArray newBlocklightArray) |
void |
setExtBlocklightValue(int x,
int y,
int z,
int value) |
void |
setExtSkylightValue(int x,
int y,
int z,
int value) |
void |
setSkylightArray(NibbleArray newSkylightArray) |
public IBlockState get(int x, int y, int z)
public void set(int x, int y, int z, IBlockState state)
public boolean isEmpty()
public boolean getNeedsRandomTick()
public int getYLocation()
public void setExtSkylightValue(int x, int y, int z, int value)
public int getExtSkylightValue(int x, int y, int z)
public void setExtBlocklightValue(int x, int y, int z, int value)
public int getExtBlocklightValue(int x, int y, int z)
public void removeInvalidBlocks()
public BlockStateContainer getData()
public NibbleArray getBlocklightArray()
public NibbleArray getSkylightArray()
public void setBlocklightArray(NibbleArray newBlocklightArray)
public void setSkylightArray(NibbleArray newSkylightArray)