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, onRemovedpublic final FullStatement<IFillerPattern> patternStatement
public boolean inverted
@Nullable public Template.BuildingInfo buildingInfo
public void updateBuildingInfo()
public void onVolumeBoxSizeChange()
onVolumeBoxSizeChange in class Addonpublic IFastAddonRenderer<AddonFillerPlanner> getRenderer()
getRenderer in class Addonpublic void postReadFromNbt()
postReadFromNbt in class Addonpublic void onPlayerRightClick(net.minecraft.entity.player.EntityPlayer player)
onPlayerRightClick in class Addonpublic net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class Addonpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class Addonpublic 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 IStatementContainerpublic net.minecraft.tileentity.TileEntity getTile()
IFillerStatementContainerIStatementContainer some containers might not be tile based (for example the volume box).getTile in interface IFillerStatementContainergetTile in interface IStatementContainerpublic net.minecraft.world.World getFillerWorld()
getFillerWorld in interface IFillerStatementContainerpublic boolean hasBox()
hasBox in interface IFillerStatementContainerpublic IBox getBox()
getBox in interface IFillerStatementContainerpublic void setPattern(IFillerPattern pattern, IStatementParameter[] params)
setPattern in interface IFillerStatementContainer