public class TileEntityBeacon extends TileEntity implements IInventory
Modifier and Type | Field and Description |
---|---|
static Potion[][] |
effectsList |
blockMetadata, blockType, INFINITE_EXTENT_AABB, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
Constructor and Description |
---|
TileEntityBeacon() |
Modifier and Type | Method and Description |
---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
void |
func_145999_a(java.lang.String p_145999_1_) |
float |
func_146002_i() |
void |
func_146005_c(int p_146005_1_) |
Packet |
getDescriptionPacket() |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getLevels() |
double |
getMaxRenderDistanceSquared() |
int |
getPrimaryEffect() |
int |
getSecondaryEffect() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
void |
setPrimaryEffect(int p_146001_1_) |
void |
setSecondaryEffect(int p_146004_1_) |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDistanceFrom, getRenderBoundingBox, getWorldObj, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markDirty
public static final Potion[][] effectsList
public void updateEntity()
updateEntity
in class TileEntity
public float func_146002_i()
public int getPrimaryEffect()
public int getSecondaryEffect()
public int getLevels()
public void func_146005_c(int p_146005_1_)
public void setPrimaryEffect(int p_146001_1_)
public void setSecondaryEffect(int p_146004_1_)
public Packet getDescriptionPacket()
getDescriptionPacket
in class TileEntity
public double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared
in class TileEntity
public void readFromNBT(NBTTagCompound p_145839_1_)
readFromNBT
in class TileEntity
public void writeToNBT(NBTTagCompound p_145841_1_)
writeToNBT
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_145999_a(java.lang.String p_145999_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