public class TileFiller extends TileBC_Neptune implements net.minecraft.util.ITickable, IDebuggable, ITileForTemplateBuilder, IFillerStatementContainer, IControllable
IControllable.Mode| Modifier and Type | Field and Description |
|---|---|
AddonFillerPlanner |
addon |
Box |
box |
TemplateBuilder |
builder |
static IdAllocator |
IDS |
boolean |
inverted |
ItemHandlerSimple |
invResources |
boolean |
markerBox |
static int |
NET_BOX |
static int |
NET_CAN_EXCAVATE |
static int |
NET_INVERT |
static int |
NET_PATTERN |
FullStatement<IFillerPattern> |
patternStatement |
caps, DEBUG, deltaManager, itemManager, NET_ADV_DEBUG, NET_ADV_DEBUG_DISABLE, NET_GUI_DATA, NET_GUI_DELTA_CLEAR, NET_GUI_DELTA_SINGLE, NET_GUI_TICK, NET_REDRAW, NET_REN_DELTA_CLEAR, NET_REN_DELTA_SINGLE, NET_RENDER_DATA, tankManager| Constructor and Description |
|---|
TileFiller() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExcavate() |
MjBattery |
getBattery() |
IBox |
getBox() |
TemplateBuilder |
getBuilder() |
net.minecraft.util.math.BlockPos |
getBuilderPos() |
IControllable.Mode |
getControlMode() |
int |
getCountToBreak() |
int |
getCountToPlace() |
void |
getDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
Get the debug information from a tile entity as a list of strings, used for the F3 debug menu.
|
net.minecraft.world.World |
getFillerWorld() |
IdAllocator |
getIdAllocator() |
IItemTransactor |
getInvResources() |
double |
getMaxRenderDistanceSquared() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
Template.BuildingInfo |
getTemplateBuildingInfo() |
net.minecraft.tileentity.TileEntity |
getTile()
Unlike in
IStatementContainer some containers might not be tile based (for example the volume box). |
net.minecraft.world.World |
getWorldBC() |
boolean |
hasBox() |
boolean |
hasFastRenderer() |
void |
invalidate() |
boolean |
isFinished() |
boolean |
isLocked() |
boolean |
isValid() |
void |
onPlacedBy(net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack) |
protected void |
onSlotChange(net.minecraftforge.items.IItemHandlerModifiable handler,
int slot,
net.minecraft.item.ItemStack before,
net.minecraft.item.ItemStack after) |
void |
onStatementChange() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
readPayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx) |
void |
sendCanExcavate(boolean newValue) |
void |
setControlMode(IControllable.Mode mode) |
void |
setPattern(IFillerPattern pattern,
IStatementParameter[] params) |
void |
update() |
void |
validate() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addDrops, canEditOther, canInteractWith, cannotUpdate, canPlayerEdit, createAndSendGuiMessage, createAndSendGuiMessage, createAndSendMessage, createAndSendMessage, createMessage, createNetworkUpdate, disableDebugging, doesExistInWorld, enableDebugging, getCapability, getCurrentState, getCurrentStateForBlock, getDebugRenderer, getLocalState, getLocalTile, getNeighbourState, getNeighbourTile, getOffsetState, getOffsetTile, getOwner, getPermBlock, getUpdatePacket, getUpdateTag, handleUpdateTag, hasCapability, isBeingDebugged, markChunkDirty, migrateOldNBT, onActivated, onDataPacket, onExplode, onNeighbourBlockChanged, onPlayerClose, onPlayerOpen, onRemove, receivePayload, redrawBlock, sendDebugState, sendNetworkGuiTick, sendNetworkGuiUpdate, sendNetworkUpdate, sendNetworkUpdate, setWorldCreate, shouldRefreshaddInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getPos, getTileData, getWorld, hasWorld, isInvalid, markDirty, mirror, onChunkUnload, onLoad, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClientDebugInfogetOwnergetNeighbourTileacceptsControlModepublic static final IdAllocator IDS
public static final int NET_CAN_EXCAVATE
public static final int NET_INVERT
public static final int NET_PATTERN
public static final int NET_BOX
public final ItemHandlerSimple invResources
public boolean inverted
public final Box box
public AddonFillerPlanner addon
public boolean markerBox
public final FullStatement<IFillerPattern> patternStatement
public TemplateBuilder builder
public IdAllocator getIdAllocator()
getIdAllocator in class TileBC_NeptuneIdAllocator that allocates all ID's for this class, and its parent classes. All subclasses
should override this if they allocate their own ids after calling
IdAllocator.makeChild(String)public void onPlacedBy(net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack)
onPlacedBy in class TileBC_Neptuneprotected void onSlotChange(net.minecraftforge.items.IItemHandlerModifiable handler,
int slot,
@Nonnull
net.minecraft.item.ItemStack before,
@Nonnull
net.minecraft.item.ItemStack after)
onSlotChange in class TileBC_Neptunepublic void update()
update in interface net.minecraft.util.ITickablepublic void validate()
validate in class net.minecraft.tileentity.TileEntitypublic void invalidate()
invalidate in class net.minecraft.tileentity.TileEntitypublic void writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side)
writePayload in class TileBC_Neptunepublic void readPayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side,
net.minecraftforge.fml.common.network.simpleimpl.MessageContext ctx)
throws java.io.IOException
readPayload in class TileBC_Neptunectx - The context. Will be null if this is a generic update payloadjava.io.IOException - if something went wrongpublic void sendCanExcavate(boolean newValue)
public void onStatementChange()
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class TileBC_Neptunepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class TileBC_Neptunepublic boolean hasFastRenderer()
hasFastRenderer in class net.minecraft.tileentity.TileEntity@Nonnull public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared in class net.minecraft.tileentity.TileEntitypublic void getDebugInfo(java.util.List<java.lang.String> left,
java.util.List<java.lang.String> right,
net.minecraft.util.EnumFacing side)
IDebuggablegetDebugInfo in interface IDebuggableside - The side the block was clicked on, may be null if we don't know, or is the "centre" sidepublic net.minecraft.world.World getWorldBC()
getWorldBC in interface ITileForSnapshotBuilderpublic int getCountToPlace()
public int getCountToBreak()
public MjBattery getBattery()
getBattery in interface ITileForSnapshotBuilderpublic net.minecraft.util.math.BlockPos getBuilderPos()
getBuilderPos in interface ITileForSnapshotBuilderpublic boolean canExcavate()
canExcavate in interface ITileForSnapshotBuilderpublic boolean isFinished()
public boolean isLocked()
public TemplateBuilder getBuilder()
getBuilder in interface ITileForSnapshotBuilderpublic Template.BuildingInfo getTemplateBuildingInfo()
getTemplateBuildingInfo in interface ITileForTemplateBuilderpublic IItemTransactor getInvResources()
getInvResources in interface ITileForTemplateBuilderpublic 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 boolean isValid()
public IBox getBox()
getBox in interface IFillerStatementContainerpublic void setPattern(IFillerPattern pattern, IStatementParameter[] params)
setPattern in interface IFillerStatementContainerpublic IControllable.Mode getControlMode()
getControlMode in interface IControllablepublic void setControlMode(IControllable.Mode mode)
setControlMode in interface IControllable