public class AddonFillerPlanner extends Addon implements ISingleAddon, IFillerStatementContainer
Modifier and Type | Field and Description |
---|---|
Template.BuildingInfo |
buildingInfo |
boolean |
inverted |
FullStatement<IFillerPattern> |
patternStatement |
Constructor and Description |
---|
AddonFillerPlanner() |
Modifier and Type | Method and Description |
---|---|
void |
fromBytes(PacketBufferBC buf) |
IBox |
getBox() |
net.minecraft.world.World |
getFillerWorld() |
net.minecraft.tileentity.TileEntity |
getNeighbourTile(net.minecraft.util.EnumFacing side) |
IFastAddonRenderer<AddonFillerPlanner> |
getRenderer() |
net.minecraft.tileentity.TileEntity |
getTile()
Unlike in
IStatementContainer some containers might not be tile based (for example the volume box). |
boolean |
hasBox() |
void |
onAdded() |
void |
onPlayerRightClick(net.minecraft.entity.player.EntityPlayer player) |
void |
onVolumeBoxSizeChange() |
void |
postReadFromNbt() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
setPattern(IFillerPattern pattern,
IStatementParameter[] params) |
void |
toBytes(PacketBufferBC buf) |
void |
updateBuildingInfo() |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
canBePlaceInto, getBoundingBox, getSlot, onRemoved
public final FullStatement<IFillerPattern> patternStatement
public boolean inverted
@Nullable public Template.BuildingInfo buildingInfo
public void updateBuildingInfo()
public void onVolumeBoxSizeChange()
onVolumeBoxSizeChange
in class Addon
public IFastAddonRenderer<AddonFillerPlanner> getRenderer()
getRenderer
in class Addon
public void postReadFromNbt()
postReadFromNbt
in class Addon
public void onPlayerRightClick(net.minecraft.entity.player.EntityPlayer player)
onPlayerRightClick
in class Addon
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT
in class Addon
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT
in class Addon
public void toBytes(PacketBufferBC buf)
public void fromBytes(PacketBufferBC buf) throws java.io.IOException
public net.minecraft.tileentity.TileEntity getNeighbourTile(net.minecraft.util.EnumFacing side)
getNeighbourTile
in interface IStatementContainer
public net.minecraft.tileentity.TileEntity getTile()
IFillerStatementContainer
IStatementContainer
some containers might not be tile based (for example the volume box).getTile
in interface IFillerStatementContainer
getTile
in interface IStatementContainer
public net.minecraft.world.World getFillerWorld()
getFillerWorld
in interface IFillerStatementContainer
public boolean hasBox()
hasBox
in interface IFillerStatementContainer
public IBox getBox()
getBox
in interface IFillerStatementContainer
public void setPattern(IFillerPattern pattern, IStatementParameter[] params)
setPattern
in interface IFillerStatementContainer