Package net.minecraft.tileentity
Class TileEntityBrewingStand
- java.lang.Object
-
- net.minecraft.tileentity.TileEntity
-
- net.minecraft.tileentity.TileEntityLockable
-
- net.minecraft.tileentity.TileEntityBrewingStand
-
- All Implemented Interfaces:
IInventory,ISidedInventory,ITickable,IInteractionObject,ILockableContainer,IWorldNameable
public class TileEntityBrewingStand extends TileEntityLockable implements ITickable, ISidedInventory
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Field Summary
-
Fields inherited from class net.minecraft.tileentity.TileEntity
blockType, pos, tileEntityInvalid, worldObj
-
-
Constructor Summary
Constructors Constructor Description TileEntityBrewingStand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExtractItem(int index, ItemStack stack, EnumFacing direction)+ Returns true if automation can extract the given item in the given slot from the given side.booleancanInsertItem(int index, ItemStack itemStackIn, EnumFacing direction)+ Returns true if automation can insert the given item in the given slot from the given side.voidclear()voidcloseInventory(EntityPlayer var1)ContainercreateContainer(InventoryPlayer inventoryplayer, EntityPlayer var2)ItemStackdecrStackSize(int i, int var2)+ Removes up to a specified number of items from an inventory slot and returns them in a new stack.boolean[]func_174902_m()intgetField(int i)intgetFieldCount()java.lang.StringgetGuiID()intgetInventoryStackLimit()+ Returns the maximum stack size for a inventory slot.java.lang.StringgetName()+ Gets the name of this command sender (usually username, but possibly "Rcon")intgetSizeInventory()+ Returns the number of slots in the inventory.int[]getSlotsForFace(EnumFacing side)ItemStackgetStackInSlot(int i)+ Returns the stack in the given slot.booleanhasCustomName()+ Returns true if this thing is namedbooleanisItemValidForSlot(int i, ItemStack itemstack)+ Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.booleanisUseableByPlayer(EntityPlayer entityplayer)+ Do not make give this method the name canInteractWith because it clashes with ContainervoidopenInventory(EntityPlayer var1)voidreadFromNBT(NBTTagCompound nbttagcompound)ItemStackremoveStackFromSlot(int i)+ Removes a stack from the given slot and returns it.voidsetField(int i, int j)voidsetInventorySlotContents(int i, ItemStack itemstack)+ Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).voidsetName(java.lang.String name)voidupdate()+ Like the old updateEntity(), except more generic.voidwriteToNBT(NBTTagCompound nbttagcompound)-
Methods inherited from class net.minecraft.tileentity.TileEntityLockable
getDisplayName, getLockCode, isLocked, setLockCode
-
Methods inherited from class net.minecraft.tileentity.TileEntity
addInfoToCrashReport, createAndLoadEntity, func_183000_F, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setPos, setWorldObj, updateContainingBlockInfo, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.inventory.IInventory
markDirty
-
Methods inherited from interface net.minecraft.world.IWorldNameable
getDisplayName
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
+ Gets the name of this command sender (usually username, but possibly "Rcon")- Specified by:
getNamein interfaceIWorldNameable
-
hasCustomName
public boolean hasCustomName()
+ Returns true if this thing is named- Specified by:
hasCustomNamein interfaceIWorldNameable
-
setName
public void setName(java.lang.String name)
-
getSizeInventory
public int getSizeInventory()
+ Returns the number of slots in the inventory.- Specified by:
getSizeInventoryin interfaceIInventory
-
update
public void update()
+ Like the old updateEntity(), except more generic.
-
readFromNBT
public void readFromNBT(NBTTagCompound nbttagcompound)
- Overrides:
readFromNBTin classTileEntityLockable
-
writeToNBT
public void writeToNBT(NBTTagCompound nbttagcompound)
- Overrides:
writeToNBTin classTileEntityLockable
-
getStackInSlot
public ItemStack getStackInSlot(int i)
+ Returns the stack in the given slot.- Specified by:
getStackInSlotin interfaceIInventory
-
decrStackSize
public ItemStack decrStackSize(int i, int var2)
+ Removes up to a specified number of items from an inventory slot and returns them in a new stack.- Specified by:
decrStackSizein interfaceIInventory
-
removeStackFromSlot
public ItemStack removeStackFromSlot(int i)
+ Removes a stack from the given slot and returns it.- Specified by:
removeStackFromSlotin interfaceIInventory
-
setInventorySlotContents
public void setInventorySlotContents(int i, ItemStack itemstack)+ Sets the given item stack to the specified slot in the inventory (can be crafting or armor sections).- Specified by:
setInventorySlotContentsin interfaceIInventory
-
getInventoryStackLimit
public int getInventoryStackLimit()
+ Returns the maximum stack size for a inventory slot. Seems to always be 64, possibly will be extended.- Specified by:
getInventoryStackLimitin interfaceIInventory
-
isUseableByPlayer
public boolean isUseableByPlayer(EntityPlayer entityplayer)
+ Do not make give this method the name canInteractWith because it clashes with Container- Specified by:
isUseableByPlayerin interfaceIInventory
-
openInventory
public void openInventory(EntityPlayer var1)
- Specified by:
openInventoryin interfaceIInventory
-
closeInventory
public void closeInventory(EntityPlayer var1)
- Specified by:
closeInventoryin interfaceIInventory
-
isItemValidForSlot
public boolean isItemValidForSlot(int i, ItemStack itemstack)+ Returns true if automation is allowed to insert the given stack (ignoring stack size) into the given slot.- Specified by:
isItemValidForSlotin interfaceIInventory
-
func_174902_m
public boolean[] func_174902_m()
-
getSlotsForFace
public int[] getSlotsForFace(EnumFacing side)
- Specified by:
getSlotsForFacein interfaceISidedInventory
-
canInsertItem
public boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction)+ Returns true if automation can insert the given item in the given slot from the given side. Args: slot, item, side- Specified by:
canInsertItemin interfaceISidedInventory
-
canExtractItem
public boolean canExtractItem(int index, ItemStack stack, EnumFacing direction)+ Returns true if automation can extract the given item in the given slot from the given side. Args: slot, item, side- Specified by:
canExtractItemin interfaceISidedInventory
-
getGuiID
public java.lang.String getGuiID()
- Specified by:
getGuiIDin interfaceIInteractionObject
-
createContainer
public Container createContainer(InventoryPlayer inventoryplayer, EntityPlayer var2)
- Specified by:
createContainerin interfaceIInteractionObject
-
getField
public int getField(int i)
- Specified by:
getFieldin interfaceIInventory
-
setField
public void setField(int i, int j)- Specified by:
setFieldin interfaceIInventory
-
getFieldCount
public int getFieldCount()
- Specified by:
getFieldCountin interfaceIInventory
-
clear
public void clear()
- Specified by:
clearin interfaceIInventory
-
-