public class TileQuarry extends TileBC_Neptune implements net.minecraft.util.ITickable, IDebuggable, IChunkLoadingTile
Modifier and Type | Class and Description |
---|---|
class |
TileQuarry.TaskAddFrame |
class |
TileQuarry.TaskBreakBlock |
IChunkLoadingTile.LoadType
Modifier and Type | Field and Description |
---|---|
net.minecraft.util.math.Vec3d |
clientDrillPos |
java.util.List<net.minecraft.util.math.AxisAlignedBB> |
collisionBoxes |
buildcraft.builders.tile.TileQuarry.Task |
currentTask |
net.minecraft.util.math.Vec3d |
drillPos |
Box |
frameBox |
java.util.List<net.minecraft.util.math.BlockPos> |
framePoses |
net.minecraft.util.math.Vec3d |
prevClientDrillPos |
caps, DEBUG, deltaManager, IDS, 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 |
---|
TileQuarry() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<net.minecraft.util.math.ChunkPos> |
getChunksToLoad()
Gets a list of all the ADDITIONAL chunks to load.
|
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.
|
DetachedRenderer.IDetachedRenderer |
getDebugRenderer()
Called on the client to actually render off the target.
|
IChunkLoadingTile.LoadType |
getLoadType() |
double |
getMaxRenderDistanceSquared() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
void |
invalidate() |
void |
onLoad() |
void |
onPlacedBy(net.minecraft.entity.EntityLivingBase placer,
net.minecraft.item.ItemStack stack) |
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 |
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, getIdAllocator, getLocalState, getLocalTile, getNeighbourState, getNeighbourTile, getOffsetState, getOffsetTile, getOwner, getPermBlock, getUpdatePacket, getUpdateTag, handleUpdateTag, hasCapability, isBeingDebugged, migrateOldNBT, onActivated, onDataPacket, onExplode, onNeighbourBlockChanged, onPlayerClose, onPlayerOpen, onRemove, 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, onChunkUnload, onlyOpsCanSetNbt, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRenderInPass, updateContainingBlockInfo
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClientDebugInfo
public final Box frameBox
public final java.util.List<net.minecraft.util.math.BlockPos> framePoses
public buildcraft.builders.tile.TileQuarry.Task currentTask
public net.minecraft.util.math.Vec3d drillPos
public net.minecraft.util.math.Vec3d clientDrillPos
public net.minecraft.util.math.Vec3d prevClientDrillPos
public java.util.List<net.minecraft.util.math.AxisAlignedBB> collisionBoxes
public void onPlacedBy(net.minecraft.entity.EntityLivingBase placer, net.minecraft.item.ItemStack stack)
onPlacedBy
in class TileBC_Neptune
public void onLoad()
onLoad
in class net.minecraft.tileentity.TileEntity
public void validate()
validate
in class net.minecraft.tileentity.TileEntity
public void invalidate()
invalidate
in class net.minecraft.tileentity.TileEntity
@Nullable public IChunkLoadingTile.LoadType getLoadType()
getLoadType
in interface IChunkLoadingTile
@Nullable public java.util.Set<net.minecraft.util.math.ChunkPos> getChunksToLoad()
IChunkLoadingTile
getChunksToLoad
in interface IChunkLoadingTile
ChunkPos
that this tile is
contained within. If the return value is null then only the chunk containing this block will be
chunkloaded.public void update()
update
in interface net.minecraft.util.ITickable
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 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 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
side
- The side the block was clicked on, may be null if we don't know, or is the "centre" side@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 DetachedRenderer.IDetachedRenderer getDebugRenderer()
IAdvDebugTarget
IAdvDebugTarget.doesExistInWorld()
returns true.getDebugRenderer
in interface IAdvDebugTarget
getDebugRenderer
in class TileBC_Neptune