public class TileQuarry extends TileAbstractBuilder implements IHasWork, net.minecraft.inventory.ISidedInventory, IDropControlInventory, IPipeConnection, IControllable
IPipeConnection.ConnectOverrideIControllable.Mode| Modifier and Type | Field and Description |
|---|---|
EntityMechanicalArm |
arm |
protected Box |
box |
net.minecraft.entity.player.EntityPlayer |
placedBy |
buildersInAction, pathLaserscache, guiWatchers, mode| Constructor and Description |
|---|
TileQuarry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptsControlMode(IControllable.Mode mode)
Check if a given control mode is accepted.
|
boolean |
areChunksLoaded() |
boolean |
canExtractItem(int p1,
net.minecraft.item.ItemStack p2,
int p3) |
boolean |
canInsertItem(int p1,
net.minecraft.item.ItemStack p2,
int p3) |
void |
closeInventory() |
void |
createUtilsIfNeeded() |
net.minecraft.item.ItemStack |
decrStackSize(int i,
int j) |
void |
destroy() |
protected void |
dig() |
boolean |
doDrop() |
boolean |
findTarget(boolean doSet) |
void |
forceChunkLoading(net.minecraftforge.common.ForgeChunkManager.Ticket ticket) |
int[] |
getAccessibleSlotsFromSide(int side) |
Box |
getBox() |
int |
getIconGlowLevel(int renderPass) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
net.minecraft.util.AxisAlignedBB |
getRenderBoundingBox() |
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int i) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
boolean |
hasCustomInventoryName() |
boolean |
hasWork()
Check if the Tile Entity is currently doing any work.
|
protected void |
idling() |
void |
initialize() |
void |
invalidate() |
boolean |
isBuildingMaterialSlot(int i) |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
void |
moveHead(double instantSpeed) |
void |
onChunkUnload() |
void |
openInventory() |
IPipeConnection.ConnectOverride |
overridePipeConnection(IPipeTile.PipeType type,
net.minecraftforge.common.util.ForgeDirection with)
Allows you to override pipe connection logic.
|
void |
positionReached() |
void |
readData(io.netty.buffer.ByteBuf stream)
Deserializes the state from the stream
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
void |
reinitalize() |
void |
setArm(EntityMechanicalArm arm) |
void |
setInventorySlotContents(int i,
net.minecraft.item.ItemStack itemstack) |
void |
updateEntity() |
void |
writeData(io.netty.buffer.ByteBuf stream)
Serializes the state to the stream
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
addAndLaunchBuildingItem, consumeEnergy, drainBuild, energyAvailable, getBuilders, getMaxRenderDistanceSquared, getPathLaser, receiveCommandaddGuiWatcher, canConnectEnergy, equals, extractEnergy, getBattery, getBlock, getControlMode, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getOwner, getPacketUpdate, getTicksSinceEnergyReceived, getTile, hashCode, onBlockPlacedBy, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, setControlMode, validateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getWorldObj, hasWorldObj, isInvalid, markDirty, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfoclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetControlMode, setControlModepublic EntityMechanicalArm arm
public net.minecraft.entity.player.EntityPlayer placedBy
protected Box box
public void createUtilsIfNeeded()
public void setArm(EntityMechanicalArm arm)
public boolean areChunksLoaded()
public void updateEntity()
updateEntity in class TileAbstractBuilderprotected void dig()
protected void idling()
public boolean findTarget(boolean doSet)
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in class TileAbstractBuilderpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in class TileAbstractBuilderpublic void positionReached()
public void invalidate()
invalidate in class TileBuildCraftpublic void onChunkUnload()
onChunkUnload in class net.minecraft.tileentity.TileEntitypublic void destroy()
destroy in class TileBuildCraftpublic boolean hasWork()
IHasWorkpublic void writeData(io.netty.buffer.ByteBuf stream)
ISerializablewriteData in interface ISerializablewriteData in class TileAbstractBuilderpublic void readData(io.netty.buffer.ByteBuf stream)
ISerializablereadData in interface ISerializablereadData in class TileAbstractBuilderpublic void initialize()
initialize in class TileAbstractBuilderpublic void reinitalize()
public int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int i)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int i,
int j)
decrStackSize in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int i,
net.minecraft.item.ItemStack itemstack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlotOnClosing(int slot)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface net.minecraft.inventory.IInventorypublic int getInventoryStackLimit()
getInventoryStackLimit in interface net.minecraft.inventory.IInventorypublic boolean isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic boolean isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer)
isUseableByPlayer in interface net.minecraft.inventory.IInventorypublic void openInventory()
openInventory in interface net.minecraft.inventory.IInventorypublic void closeInventory()
closeInventory in interface net.minecraft.inventory.IInventorypublic boolean isBuildingMaterialSlot(int i)
isBuildingMaterialSlot in interface ITileBuilderpublic void moveHead(double instantSpeed)
public void forceChunkLoading(net.minecraftforge.common.ForgeChunkManager.Ticket ticket)
public int getIconGlowLevel(int renderPass)
public boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventorypublic net.minecraft.util.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class net.minecraft.tileentity.TileEntitypublic Box getBox()
getBox in interface IBoxProviderpublic int[] getAccessibleSlotsFromSide(int side)
getAccessibleSlotsFromSide in interface net.minecraft.inventory.ISidedInventorypublic boolean canInsertItem(int p1,
net.minecraft.item.ItemStack p2,
int p3)
canInsertItem in interface net.minecraft.inventory.ISidedInventorypublic boolean canExtractItem(int p1,
net.minecraft.item.ItemStack p2,
int p3)
canExtractItem in interface net.minecraft.inventory.ISidedInventorypublic boolean acceptsControlMode(IControllable.Mode mode)
IControllableacceptsControlMode in interface IControllablepublic boolean doDrop()
doDrop in interface IDropControlInventorypublic IPipeConnection.ConnectOverride overridePipeConnection(IPipeTile.PipeType type, net.minecraftforge.common.util.ForgeDirection with)
IPipeConnectionoverridePipeConnection in interface IPipeConnection