public class TileEntityBeacon extends TileEntityLockable implements IUpdatePlayerListBox, IInventory
Modifier and Type | Class and Description |
---|---|
static class |
TileEntityBeacon.BeamSegment |
Modifier and Type | Field and Description |
---|---|
static Potion[][] |
effectsList |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityBeacon() |
getDisplayName, getLockCode, isLocked, setLockCode
addInfoToCrashReport, addMapping, canRenderBreaking, createAndLoadEntity, getBlockMetadata, getBlockType, getDistanceSq, getPos, getRenderBoundingBox, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markDirty
getDisplayName
public static final Potion[][] effectsList
public void update()
update
in interface IUpdatePlayerListBox
public void func_174908_m()
public java.util.List func_174907_n()
public float shouldBeamRender()
public Packet getDescriptionPacket()
getDescriptionPacket
in class TileEntity
public double getMaxRenderDistanceSquared()
getMaxRenderDistanceSquared
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntityLockable
public void writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntityLockable
public int getSizeInventory()
getSizeInventory
in interface IInventory
public ItemStack getStackInSlot(int index)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int index, int count)
decrStackSize
in interface IInventory
public ItemStack getStackInSlotOnClosing(int index)
getStackInSlotOnClosing
in interface IInventory
public void setInventorySlotContents(int index, ItemStack stack)
setInventorySlotContents
in interface IInventory
public java.lang.String getName()
getName
in interface IWorldNameable
public boolean hasCustomName()
hasCustomName
in interface IWorldNameable
public void func_145999_a(java.lang.String p_145999_1_)
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer player)
isUseableByPlayer
in interface IInventory
public void openInventory(EntityPlayer player)
openInventory
in interface IInventory
public void closeInventory(EntityPlayer player)
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int index, ItemStack stack)
isItemValidForSlot
in interface IInventory
public java.lang.String getGuiID()
getGuiID
in interface IInteractionObject
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
createContainer
in interface IInteractionObject
public int getField(int id)
getField
in interface IInventory
public void setField(int id, int value)
setField
in interface IInventory
public int getFieldCount()
getFieldCount
in interface IInventory
public void clear()
clear
in interface IInventory
public boolean receiveClientEvent(int id, int type)
receiveClientEvent
in class TileEntity