public class ZoneChunk extends java.lang.Object implements ISerializable
| Modifier and Type | Field and Description |
|---|---|
java.util.BitSet |
property |
| Constructor and Description |
|---|
ZoneChunk() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
get(int xChunk,
int zChunk) |
BlockIndex |
getRandomBlockIndex(java.util.Random rand) |
boolean |
isEmpty() |
void |
readData(io.netty.buffer.ByteBuf stream)
Deserializes the state from the stream
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
set(int xChunk,
int zChunk,
boolean value) |
void |
writeData(io.netty.buffer.ByteBuf stream)
Serializes the state to the stream
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
public boolean get(int xChunk,
int zChunk)
public void set(int xChunk,
int zChunk,
boolean value)
public void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
public BlockIndex getRandomBlockIndex(java.util.Random rand)
public boolean isEmpty()
public void readData(io.netty.buffer.ByteBuf stream)
ISerializablereadData in interface ISerializablepublic void writeData(io.netty.buffer.ByteBuf stream)
ISerializablewriteData in interface ISerializable