public class TileQuarry extends TileBuildCraft implements IMachine, IPowerReceptor, IBuilderInventory
| Modifier and Type | Field and Description |
|---|---|
EntityMechanicalArm |
arm |
Box |
box |
EntityRobot |
builder |
boolean |
builderDone |
double |
headPosX |
double |
headPosY |
double |
headPosZ |
boolean |
inProcess |
boolean |
isAlive |
static int |
MAX_ENERGY |
net.minecraft.entity.player.EntityPlayer |
placedBy |
PowerHandler |
powerHandler |
double |
speed |
int |
targetX |
int |
targetY |
int |
targetZ |
| Constructor and Description |
|---|
TileQuarry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowAction(IAction action) |
protected void |
buildFrame() |
void |
closeInventory() |
void |
createUtilsIfNeeded() |
net.minecraft.item.ItemStack |
decrStackSize(int i,
int j) |
void |
destroy() |
protected void |
dig() |
void |
doWork(PowerHandler workProvider)
Call back from the PowerHandler that is called when the stored power
exceeds the activation power.
|
boolean |
findTarget(boolean doSet) |
void |
forceChunkLoading(net.minecraftforge.common.ForgeChunkManager.Ticket ticket) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
PowerHandler.PowerReceiver |
getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
Get the PowerReceiver for this side of the block.
|
int |
getSizeInventory() |
net.minecraft.item.ItemStack |
getStackInSlot(int i) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slot) |
boolean |
hasCustomInventoryName() |
void |
initialize() |
void |
invalidate() |
boolean |
isActive() |
boolean |
isBuildingMaterial(int i) |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
boolean |
manageFluids() |
boolean |
manageSolids() |
void |
moveHead(double instantSpeed) |
void |
onChunkUnload() |
void |
openInventory() |
void |
positionReached() |
void |
postPacketHandling(PacketUpdate packet) |
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 |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound) |
getDescriptionPacket, getOwner, getPacketPayload, getUpdatePacket, getWorld, handleDescriptionPacket, handleUpdatePacket, onBlockPlacedBy, sendNetworkUpdateaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldpublic Box box
public boolean inProcess
public int targetX
public int targetY
public int targetZ
public double headPosX
public double headPosY
public double headPosZ
public double speed
public boolean builderDone
public EntityRobot builder
public EntityMechanicalArm arm
public PowerHandler powerHandler
public static final int MAX_ENERGY
public boolean isAlive
public net.minecraft.entity.player.EntityPlayer placedBy
public void createUtilsIfNeeded()
public void setArm(EntityMechanicalArm arm)
public void updateEntity()
updateEntity in class TileBuildCraftpublic void doWork(PowerHandler workProvider)
IPowerReceptordoWork in interface IPowerReceptorprotected void buildFrame()
protected void dig()
public boolean findTarget(boolean doSet)
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
readFromNBT in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbttagcompound)
writeToNBT in class TileBuildCraftpublic 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 postPacketHandling(PacketUpdate packet)
postPacketHandling in interface ISynchronizedTilepostPacketHandling in class TileBuildCraftpublic void initialize()
initialize in class TileBuildCraftpublic void reinitalize()
public PowerHandler.PowerReceiver getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
IPowerReceptorgetPowerReceiver in interface IPowerReceptorpublic boolean manageFluids()
manageFluids in interface IMachinepublic boolean manageSolids()
manageSolids in interface IMachinepublic 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 isBuildingMaterial(int i)
isBuildingMaterial in interface IBuilderInventorypublic boolean allowAction(IAction action)
allowAction in interface IMachinepublic void moveHead(double instantSpeed)
public void forceChunkLoading(net.minecraftforge.common.ForgeChunkManager.Ticket ticket)
public boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventory