public class TileEntityHopper extends TileEntity implements IHopper
blockMetadata, blockType, INFINITE_EXTENT_AABB, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord| Constructor and Description |
|---|
TileEntityHopper() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int par1,
int par2) |
static IInventory |
func_145884_b(IHopper p_145884_0_) |
void |
func_145886_a(java.lang.String p_145886_1_) |
boolean |
func_145887_i() |
boolean |
func_145888_j() |
static ItemStack |
func_145889_a(IInventory p_145889_0_,
ItemStack p_145889_1_,
int p_145889_2_) |
static boolean |
func_145891_a(IHopper p_145891_0_) |
static IInventory |
func_145893_b(World p_145893_0_,
double p_145893_1_,
double p_145893_3_,
double p_145893_5_) |
void |
func_145896_c(int p_145896_1_) |
static EntityItem |
func_145897_a(World p_145897_0_,
double p_145897_1_,
double p_145897_3_,
double p_145897_5_) |
static boolean |
func_145898_a(IInventory p_145898_0_,
EntityItem p_145898_1_) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int par1) |
ItemStack |
getStackInSlotOnClosing(int par1) |
double |
getXPos() |
double |
getYPos() |
double |
getZPos() |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int par1,
ItemStack par2ItemStack) |
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer) |
void |
markDirty() |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
void |
setInventorySlotContents(int par1,
ItemStack par2ItemStack) |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, invalidate, isInvalid, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldObjpublic void readFromNBT(NBTTagCompound p_145839_1_)
readFromNBT in class TileEntitypublic void writeToNBT(NBTTagCompound p_145841_1_)
writeToNBT in class TileEntitypublic void markDirty()
markDirty in interface IInventorymarkDirty in class TileEntitypublic int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int par1)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int par1, int par2)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int par1)
getStackInSlotOnClosing in interface IInventorypublic void setInventorySlotContents(int par1,
ItemStack par2ItemStack)
setInventorySlotContents in interface IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface IInventorypublic void func_145886_a(java.lang.String p_145886_1_)
public int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
isUseableByPlayer in interface IInventorypublic void openInventory()
openInventory in interface IInventorypublic void closeInventory()
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int par1,
ItemStack par2ItemStack)
isItemValidForSlot in interface IInventorypublic void updateEntity()
updateEntity in class TileEntitypublic boolean func_145887_i()
public static boolean func_145891_a(IHopper p_145891_0_)
public static boolean func_145898_a(IInventory p_145898_0_, EntityItem p_145898_1_)
public static ItemStack func_145889_a(IInventory p_145889_0_, ItemStack p_145889_1_, int p_145889_2_)
public static IInventory func_145884_b(IHopper p_145884_0_)
public static EntityItem func_145897_a(World p_145897_0_, double p_145897_1_, double p_145897_3_, double p_145897_5_)
public static IInventory func_145893_b(World p_145893_0_, double p_145893_1_, double p_145893_3_, double p_145893_5_)
public void func_145896_c(int p_145896_1_)
public boolean func_145888_j()