YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.tileentity.TileEntityBrewingStand Class Reference
Inheritance diagram for net.minecraft.tileentity.TileEntityBrewingStand:
net.minecraft.tileentity.TileEntity net.minecraft.inventory.ISidedInventory net.minecraft.inventory.IInventory

Public Member Functions

String getInvName ()
 
boolean isInvNameLocalized ()
 
void func_94131_a (String par1Str)
 
int getSizeInventory ()
 
void updateEntity ()
 
int getBrewTime ()
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
ItemStack getStackInSlot (int par1)
 
ItemStack decrStackSize (int par1, int par2)
 
ItemStack getStackInSlotOnClosing (int par1)
 
void setInventorySlotContents (int par1, ItemStack par2ItemStack)
 
int getInventoryStackLimit ()
 
boolean isUseableByPlayer (EntityPlayer par1EntityPlayer)
 
void openChest ()
 
void closeChest ()
 
boolean isStackValidForSlot (int par1, ItemStack par2ItemStack)
 
void setBrewTime (int par1)
 
int getFilledSlots ()
 
int[] getAccessibleSlotsFromSide (int par1)
 
boolean canInsertItem (int par1, ItemStack par2ItemStack, int par3)
 
boolean canExtractItem (int par1, ItemStack par2ItemStack, int par3)
 
- Public Member Functions inherited from net.minecraft.tileentity.TileEntity
World getWorldObj ()
 
void setWorldObj (World par1World)
 
boolean func_70309_m ()
 
void readFromNBT (NBTTagCompound par1NBTTagCompound)
 
void writeToNBT (NBTTagCompound par1NBTTagCompound)
 
void updateEntity ()
 
int getBlockMetadata ()
 
void onInventoryChanged ()
 
double getDistanceFrom (double par1, double par3, double par5)
 
double getMaxRenderDistanceSquared ()
 
Block getBlockType ()
 
Packet getDescriptionPacket ()
 
boolean isInvalid ()
 
void invalidate ()
 
void validate ()
 
boolean receiveClientEvent (int par1, int par2)
 
void updateContainingBlockInfo ()
 
void func_85027_a (CrashReportCategory par1CrashReportCategory)
 
boolean canUpdate ()
 
void onDataPacket (INetworkManager net, Packet132TileEntityData pkt)
 
void onChunkUnload ()
 
boolean shouldRefresh (int oldID, int newID, int oldMeta, int newMeta, World world, int x, int y, int z)
 
boolean shouldRenderInPass (int pass)
 
AxisAlignedBB getRenderBoundingBox ()
 

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
 
- 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)
 
- Protected Attributes inherited from net.minecraft.tileentity.TileEntity
boolean tileEntityInvalid
 

Member Function Documentation

boolean net.minecraft.tileentity.TileEntityBrewingStand.canExtractItem ( int  par1,
ItemStack  par2ItemStack,
int  par3 
)

Returns true if automation can extract the given item in the given slot from the given side. Args: Slot, item, side

Implements net.minecraft.inventory.ISidedInventory.

boolean net.minecraft.tileentity.TileEntityBrewingStand.canInsertItem ( int  par1,
ItemStack  par2ItemStack,
int  par3 
)

Returns true if automation can insert the given item in the given slot from the given side. Args: Slot, item, side

Implements net.minecraft.inventory.ISidedInventory.

void net.minecraft.tileentity.TileEntityBrewingStand.closeChest ( )
ItemStack net.minecraft.tileentity.TileEntityBrewingStand.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.

void net.minecraft.tileentity.TileEntityBrewingStand.func_94131_a ( String  par1Str)
int [] net.minecraft.tileentity.TileEntityBrewingStand.getAccessibleSlotsFromSide ( int  par1)

Returns an array containing the indices of the slots that can be accessed by automation on the given side of this block.

Implements net.minecraft.inventory.ISidedInventory.

int net.minecraft.tileentity.TileEntityBrewingStand.getBrewTime ( )
int net.minecraft.tileentity.TileEntityBrewingStand.getFilledSlots ( )

returns an integer with each bit specifying wether that slot of the stand contains a potion

int net.minecraft.tileentity.TileEntityBrewingStand.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.TileEntityBrewingStand.getInvName ( )

Returns the name of the inventory.

Implements net.minecraft.inventory.IInventory.

int net.minecraft.tileentity.TileEntityBrewingStand.getSizeInventory ( )

Returns the number of slots in the inventory.

Implements net.minecraft.inventory.IInventory.

ItemStack net.minecraft.tileentity.TileEntityBrewingStand.getStackInSlot ( int  par1)

Returns the stack in slot i

Implements net.minecraft.inventory.IInventory.

ItemStack net.minecraft.tileentity.TileEntityBrewingStand.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.TileEntityBrewingStand.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.TileEntityBrewingStand.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.TileEntityBrewingStand.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.TileEntityBrewingStand.openChest ( )
void net.minecraft.tileentity.TileEntityBrewingStand.readFromNBT ( NBTTagCompound  par1NBTTagCompound)

Reads a tile entity from NBT.

void net.minecraft.tileentity.TileEntityBrewingStand.setBrewTime ( int  par1)
void net.minecraft.tileentity.TileEntityBrewingStand.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.TileEntityBrewingStand.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.TileEntityBrewingStand.writeToNBT ( NBTTagCompound  par1NBTTagCompound)

Writes a tile entity to NBT.


The documentation for this class was generated from the following file: