public class TileMarkerVolume extends TileMarker<VolumeConnection> implements ITileAreaProvider
Modifier and Type | Field and Description |
---|---|
static IdAllocator |
IDS |
static int |
NET_SIGNALS_OFF |
static int |
NET_SIGNALS_ON |
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 |
---|
TileMarkerVolume() |
Modifier and Type | Method and Description |
---|---|
VolumeCache |
getCache() |
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.
|
IdAllocator |
getIdAllocator() |
double |
getMaxRenderDistanceSquared() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
boolean |
isActiveForRender() |
boolean |
isShowingSignals() |
boolean |
isValidFromLocation(net.minecraft.util.math.BlockPos pos) |
net.minecraft.util.math.BlockPos |
max() |
net.minecraft.util.math.BlockPos |
min() |
void |
onManualConnectionAttempt(net.minecraft.entity.player.EntityPlayer player) |
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 |
removeFromWorld()
Remove from the world all objects used to define the area.
|
void |
switchSignals() |
void |
writePayload(int id,
PacketBufferBC buffer,
net.minecraftforge.fml.relauncher.Side side) |
net.minecraft.nbt.NBTTagCompound |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
disconnectFromOthers, getCurrentConnection, getLocalCache, invalidate, onChunkUnload, onLoad, onRemove
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, 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, hasFastRenderer, hasWorld, isInvalid, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
public static final IdAllocator IDS
public static final int NET_SIGNALS_ON
public static final int NET_SIGNALS_OFF
public IdAllocator getIdAllocator()
getIdAllocator
in class TileBC_Neptune
IdAllocator
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 boolean isShowingSignals()
public VolumeCache getCache()
getCache
in class TileMarker<VolumeConnection>
public boolean isActiveForRender()
isActiveForRender
in class TileMarker<VolumeConnection>
public net.minecraft.nbt.NBTTagCompound writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT
in class TileBC_Neptune
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT
in class TileBC_Neptune
public void switchSignals()
public void writePayload(int id, PacketBufferBC buffer, net.minecraftforge.fml.relauncher.Side side)
writePayload
in class TileBC_Neptune
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 TileBC_Neptune
ctx
- The context. Will be null if this is a generic update payloadjava.io.IOException
- if something went wrong@Nonnull public net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox
in class net.minecraft.tileentity.TileEntity
public double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared
in class net.minecraft.tileentity.TileEntity
public void onManualConnectionAttempt(net.minecraft.entity.player.EntityPlayer player)
public 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 TileMarker<VolumeConnection>
side
- The side the block was clicked on, may be null if we don't know, or is the "centre" sidepublic net.minecraft.util.math.BlockPos min()
min
in interface IAreaProvider
public net.minecraft.util.math.BlockPos max()
max
in interface IAreaProvider
public void removeFromWorld()
IAreaProvider
removeFromWorld
in interface IAreaProvider
public boolean isValidFromLocation(net.minecraft.util.math.BlockPos pos)
isValidFromLocation
in interface ITileAreaProvider