public class TileHopper extends TileBuildCraft implements net.minecraft.inventory.IInventory, IEnergyHandler, IRedstoneEngineReceiver
cache, guiWatchers, mode| Constructor and Description |
|---|
TileHopper() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canConnectEnergy(net.minecraftforge.common.util.ForgeDirection side)
Returns TRUE if the TileEntity can connect on a given side.
|
boolean |
canConnectRedstoneEngine(net.minecraftforge.common.util.ForgeDirection side)
This function is queried on every attempt to receive energy from a
redstone engine as well.
|
void |
closeInventory() |
net.minecraft.item.ItemStack |
decrStackSize(int slotId,
int count) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
java.lang.String |
getOwner() |
int |
getSizeInventory()
IInventory Implementation *
|
net.minecraft.item.ItemStack |
getStackInSlot(int slotId) |
net.minecraft.item.ItemStack |
getStackInSlotOnClosing(int slotId) |
boolean |
hasCustomInventoryName() |
void |
initialize() |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
boolean |
isUseableByPlayer(net.minecraft.entity.player.EntityPlayer entityPlayer) |
void |
markDirty() |
void |
openInventory() |
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbtTagCompound) |
void |
setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemStack) |
void |
updateEntity() |
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbtTagCompound) |
addGuiWatcher, destroy, equals, extractEnergy, getBattery, getBlock, getControlMode, getDescriptionPacket, getEnergyStored, getMaxEnergyStored, getPacketUpdate, getTicksSinceEnergyReceived, getTile, hashCode, invalidate, onBlockPlacedBy, readData, receiveEnergy, removeGuiWatcher, sendNetworkUpdate, setBattery, setControlMode, validate, writeDataaddMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfoclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitextractEnergy, getEnergyStored, getMaxEnergyStored, receiveEnergypublic void initialize()
initialize in class TileBuildCraftpublic void readFromNBT(net.minecraft.nbt.NBTTagCompound nbtTagCompound)
readFromNBT in class TileBuildCraftpublic void writeToNBT(net.minecraft.nbt.NBTTagCompound nbtTagCompound)
writeToNBT in class TileBuildCraftpublic void updateEntity()
updateEntity in class TileBuildCraftpublic void markDirty()
markDirty in interface net.minecraft.inventory.IInventorymarkDirty in class net.minecraft.tileentity.TileEntitypublic int getSizeInventory()
getSizeInventory in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlot(int slotId)
getStackInSlot in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack decrStackSize(int slotId,
int count)
decrStackSize in interface net.minecraft.inventory.IInventorypublic net.minecraft.item.ItemStack getStackInSlotOnClosing(int slotId)
getStackInSlotOnClosing in interface net.minecraft.inventory.IInventorypublic void setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemStack)
setInventorySlotContents 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 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 isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot in interface net.minecraft.inventory.IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface net.minecraft.inventory.IInventorypublic boolean canConnectRedstoneEngine(net.minecraftforge.common.util.ForgeDirection side)
IRedstoneEngineReceivercanConnectRedstoneEngine in interface IRedstoneEngineReceiverpublic java.lang.String getOwner()
getOwner in class TileBuildCraftpublic boolean canConnectEnergy(net.minecraftforge.common.util.ForgeDirection side)
IEnergyConnectioncanConnectEnergy in interface IEnergyConnectioncanConnectEnergy in class TileBuildCraft