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) |
Block |
getBlockByExtId(int x,
int y,
int z) |
NibbleArray |
getBlocklightArray() |
char[] |
getData() |
int |
getExtBlocklightValue(int x,
int y,
int z) |
int |
getExtBlockMetadata(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 |
setData(char[] dataArray) |
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 Block getBlockByExtId(int x, int y, int z)
public int getExtBlockMetadata(int x, int y, int z)
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 char[] getData()
public void setData(char[] dataArray)
public NibbleArray getBlocklightArray()
public NibbleArray getSkylightArray()
public void setBlocklightArray(NibbleArray newBlocklightArray)
public void setSkylightArray(NibbleArray newSkylightArray)