public class FillerType extends StatementType<IFillerPattern>
Modifier and Type | Field and Description |
---|---|
static FillerType |
INSTANCE |
clazz, defaultStatement
Modifier and Type | Method and Description |
---|---|
IFillerPattern |
readFromBuffer(PacketBufferBC buffer)
Reads a
StatementWrapper from the given PacketBufferBC . |
IFillerPattern |
readFromNbt(net.minecraft.nbt.NBTTagCompound nbt)
Reads a
StatementWrapper from the given NBTTagCompound . |
void |
writeToBuffer(PacketBufferBC buffer,
IFillerPattern slot) |
net.minecraft.nbt.NBTTagCompound |
writeToNbt(IFillerPattern slot) |
public static final FillerType INSTANCE
public IFillerPattern readFromNbt(net.minecraft.nbt.NBTTagCompound nbt)
StatementType
StatementWrapper
from the given NBTTagCompound
. The tag compound will be equal to
the one returned by StatementType.writeToNbt(IGuiSlot)
readFromNbt
in class StatementType<IFillerPattern>
public net.minecraft.nbt.NBTTagCompound writeToNbt(IFillerPattern slot)
writeToNbt
in class StatementType<IFillerPattern>
public IFillerPattern readFromBuffer(PacketBufferBC buffer)
StatementType
StatementWrapper
from the given PacketBufferBC
. The buffer will return the data
written to a different buffer by StatementType.writeToBuffer(PacketBufferBC, IGuiSlot)
.readFromBuffer
in class StatementType<IFillerPattern>
public void writeToBuffer(PacketBufferBC buffer, IFillerPattern slot)
writeToBuffer
in class StatementType<IFillerPattern>