public class TileEntityHopper extends TileEntity implements IHopper
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
Constructor and Description |
---|
TileEntityHopper() |
Modifier and Type | Method and Description |
---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
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 p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
double |
getXPos() |
double |
getYPos() |
double |
getZPos() |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
markDirty() |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, receiveClientEvent, setWorldObj, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getWorldObj
public void readFromNBT(NBTTagCompound p_145839_1_)
readFromNBT
in class TileEntity
public void writeToNBT(NBTTagCompound p_145841_1_)
writeToNBT
in class TileEntity
public void markDirty()
markDirty
in interface IInventory
markDirty
in class TileEntity
public int getSizeInventory()
getSizeInventory
in interface IInventory
public ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize
in interface IInventory
public ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing
in interface IInventory
public void setInventorySlotContents(int p_70299_1_, ItemStack p_70299_2_)
setInventorySlotContents
in interface IInventory
public java.lang.String getInventoryName()
getInventoryName
in interface IInventory
public boolean hasCustomInventoryName()
hasCustomInventoryName
in interface IInventory
public void func_145886_a(java.lang.String p_145886_1_)
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer
in interface IInventory
public void openInventory()
openInventory
in interface IInventory
public void closeInventory()
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_)
isItemValidForSlot
in interface IInventory
public void updateEntity()
updateEntity
in class TileEntity
public 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()