public class TilePump extends TileMiner
battery, currentPos, IDS, isComplete, NET_LED_STATUS, NET_WANTED_Y, progress
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 |
---|
TilePump() |
Modifier and Type | Method and Description |
---|---|
protected IMjReceiver |
createMjReceiver() |
protected long |
getBatteryCapacity() |
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.
|
protected net.minecraft.util.math.BlockPos |
getTargetPos() |
void |
mine() |
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 |
update() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
getIdAllocator, getLength, getMaxRenderDistanceSquared, getPercentFilledForRender, getRenderBoundingBox, hasFastRenderer, isComplete, migrateOldNBT, onLoad, onRemove, updateLength
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, onActivated, onDataPacket, onExplode, onNeighbourBlockChanged, onPlacedBy, onPlayerClose, onPlayerOpen, onSlotChange, receivePayload, redrawBlock, sendDebugState, sendNetworkGuiTick, sendNetworkGuiUpdate, sendNetworkUpdate, sendNetworkUpdate, setWorldCreate, shouldRefresh
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getDisplayName, getDistanceSq, getKey, getPos, getTileData, getWorld, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
protected IMjReceiver createMjReceiver()
createMjReceiver
in class TileMiner
protected net.minecraft.util.math.BlockPos getTargetPos()
getTargetPos
in class TileMiner
public void update()
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT
in class TileMiner
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT
in class TileMiner
public void writePayload(int id, PacketBufferBC buffer, net.minecraftforge.fml.relauncher.Side side)
writePayload
in class TileMiner
public 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 TileMiner
ctx
- The context. Will be null if this is a generic update payloadjava.io.IOException
- if something went wrongpublic void getDebugInfo(java.util.List<java.lang.String> left, java.util.List<java.lang.String> right, net.minecraft.util.EnumFacing side)
IDebuggable
getDebugInfo
in interface IDebuggable
getDebugInfo
in class TileMiner
side
- The side the block was clicked on, may be null if we don't know, or is the "centre" sideprotected long getBatteryCapacity()
getBatteryCapacity
in class TileMiner