public class TileQuarry extends TileAbstractBuilder implements IHasWork, net.minecraft.inventory.ISidedInventory, IDropControlInventory, IPipeConnection
IPipeConnection.ConnectOverride| Modifier and Type | Field and Description |
|---|---|
EntityMechanicalArm |
arm |
protected Box |
box |
net.minecraft.entity.player.EntityPlayer |
placedBy |
buildersInAction, pathLaserscache, guiWatchers| Constructor and Description |
|---|
TileQuarry() |
| Modifier and Type | Method and Description |
|---|---|
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() |
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() |
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) |
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) |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
addAndLaunchBuildingItem, consumeEnergy, energyAvailable, getBuilders, getMaxRenderDistanceSquared, getPathLaser, receiveCommandaddGuiWatcher, canConnectEnergy, equals, extractEnergy, getBattery, getBlock, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getOwner, getPacketUpdate, getTile, hashCode, onBlockPlacedBy, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, validateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getWorldObj, hasWorldObj, isInvalid, markDirty, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfopublic 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 void writeData(io.netty.buffer.ByteBuf stream)
writeData in interface ISerializablewriteData in class TileAbstractBuilderpublic void readData(io.netty.buffer.ByteBuf stream)
readData 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 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 doDrop()
doDrop in interface IDropControlInventorypublic IPipeConnection.ConnectOverride overridePipeConnection(IPipeTile.PipeType type, net.minecraftforge.common.util.ForgeDirection with)
IPipeConnectionoverridePipeConnection in interface IPipeConnection