YATS/Forge Documentation
|
Static Public Attributes | |
static final Potion[][] | effectsList = new Potion[][] {{Potion.moveSpeed, Potion.digSpeed}, {Potion.resistance, Potion.jump}, {Potion.damageBoost}, {Potion.regeneration}} |
Static Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
static final AxisAlignedBB | INFINITE_EXTENT_AABB = AxisAlignedBB.getBoundingBox(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY) |
Additional Inherited Members | |
Static Public Member Functions inherited from net.minecraft.tileentity.TileEntity | |
static void | addMapping (Class par0Class, String par1Str) |
static TileEntity | createAndLoadEntity (NBTTagCompound par0NBTTagCompound) |
Public Attributes inherited from net.minecraft.tileentity.TileEntity | |
World | worldObj |
int | xCoord |
int | yCoord |
int | zCoord |
int | blockMetadata = -1 |
Block | blockType |
Protected Attributes inherited from net.minecraft.tileentity.TileEntity | |
boolean | tileEntityInvalid |
void net.minecraft.tileentity.TileEntityBeacon.closeChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
ItemStack net.minecraft.tileentity.TileEntityBeacon.decrStackSize | ( | int | par1, |
int | par2 | ||
) |
Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a new stack.
Implements net.minecraft.inventory.IInventory.
float net.minecraft.tileentity.TileEntityBeacon.func_82125_v_ | ( | ) |
void net.minecraft.tileentity.TileEntityBeacon.func_94047_a | ( | String | par1Str) |
Packet net.minecraft.tileentity.TileEntityBeacon.getDescriptionPacket | ( | ) |
Overriden in a sign to provide the text.
int net.minecraft.tileentity.TileEntityBeacon.getInventoryStackLimit | ( | ) |
Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended. Isn't this more of a set than a get?
Implements net.minecraft.inventory.IInventory.
String net.minecraft.tileentity.TileEntityBeacon.getInvName | ( | ) |
Returns the name of the inventory.
Implements net.minecraft.inventory.IInventory.
int net.minecraft.tileentity.TileEntityBeacon.getLevels | ( | ) |
Return the levels of this beacon's pyramid.
double net.minecraft.tileentity.TileEntityBeacon.getMaxRenderDistanceSquared | ( | ) |
int net.minecraft.tileentity.TileEntityBeacon.getPrimaryEffect | ( | ) |
Return the primary potion effect given by this beacon.
int net.minecraft.tileentity.TileEntityBeacon.getSecondaryEffect | ( | ) |
Return the secondary potion effect given by this beacon.
int net.minecraft.tileentity.TileEntityBeacon.getSizeInventory | ( | ) |
Returns the number of slots in the inventory.
Implements net.minecraft.inventory.IInventory.
ItemStack net.minecraft.tileentity.TileEntityBeacon.getStackInSlot | ( | int | par1) |
Returns the stack in slot i
Implements net.minecraft.inventory.IInventory.
ItemStack net.minecraft.tileentity.TileEntityBeacon.getStackInSlotOnClosing | ( | int | par1) |
When some containers are closed they call this on each slot, then drop whatever it returns as an EntityItem - like when you close a workbench GUI.
Implements net.minecraft.inventory.IInventory.
boolean net.minecraft.tileentity.TileEntityBeacon.isInvNameLocalized | ( | ) |
If this returns false, the inventory name will be used as an unlocalized name, and translated into the player's language. Otherwise it will be used directly.
Implements net.minecraft.inventory.IInventory.
boolean net.minecraft.tileentity.TileEntityBeacon.isStackValidForSlot | ( | int | par1, |
ItemStack | par2ItemStack | ||
) |
Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.
Implements net.minecraft.inventory.IInventory.
boolean net.minecraft.tileentity.TileEntityBeacon.isUseableByPlayer | ( | EntityPlayer | par1EntityPlayer) |
Do not make give this method the name canInteractWith because it clashes with Container
Implements net.minecraft.inventory.IInventory.
void net.minecraft.tileentity.TileEntityBeacon.openChest | ( | ) |
Implements net.minecraft.inventory.IInventory.
void net.minecraft.tileentity.TileEntityBeacon.readFromNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Reads a tile entity from NBT.
void net.minecraft.tileentity.TileEntityBeacon.setInventorySlotContents | ( | int | par1, |
ItemStack | par2ItemStack | ||
) |
Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).
Implements net.minecraft.inventory.IInventory.
void net.minecraft.tileentity.TileEntityBeacon.setLevels | ( | int | par1) |
Set the levels of this beacon's pyramid.
void net.minecraft.tileentity.TileEntityBeacon.setPrimaryEffect | ( | int | par1) |
void net.minecraft.tileentity.TileEntityBeacon.setSecondaryEffect | ( | int | par1) |
void net.minecraft.tileentity.TileEntityBeacon.updateEntity | ( | ) |
Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count ticks and creates a new spawn inside its implementation.
void net.minecraft.tileentity.TileEntityBeacon.writeToNBT | ( | NBTTagCompound | par1NBTTagCompound) |
Writes a tile entity to NBT.
|
static |
List of effects that Beacon can apply