public interface IFacadeContainer
not intended for implementation.
Modifier and Type | Method and Description |
---|---|
boolean |
addFacade(IFacadePart a)
Attempts to add the
IFacadePart to the given side. |
IFacadePart |
getFacade(net.minecraftforge.common.util.ForgeDirection s) |
boolean |
isEmpty() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound data)
read from NBT
|
boolean |
readFromStream(io.netty.buffer.ByteBuf data)
read from stream
|
void |
removeFacade(IPartHost host,
net.minecraftforge.common.util.ForgeDirection side)
Removed the facade on the given side, or does nothing.
|
void |
rotateLeft()
rotate the facades left.
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound data)
write nbt data
|
void |
writeToStream(io.netty.buffer.ByteBuf data)
write to stream
|
boolean addFacade(IFacadePart a)
IFacadePart
to the given side.void removeFacade(IPartHost host, net.minecraftforge.common.util.ForgeDirection side)
IFacadePart getFacade(net.minecraftforge.common.util.ForgeDirection s)
IFacadePart
for a given side, or null.void rotateLeft()
void writeToNBT(net.minecraft.nbt.NBTTagCompound data)
data
- to be written databoolean readFromStream(io.netty.buffer.ByteBuf data) throws java.io.IOException
data
- to be read datajava.io.IOException
void readFromNBT(net.minecraft.nbt.NBTTagCompound data)
data
- to be read datavoid writeToStream(io.netty.buffer.ByteBuf data) throws java.io.IOException
data
- to be written datajava.io.IOException
boolean isEmpty()