public class BrewingStandTileEntity extends LockableTileEntity implements ISidedInventory, ITickableTileEntity
| Modifier and Type | Field and Description |
|---|---|
protected IIntArray |
field_213954_a |
pos, removed, worldINFINITE_EXTENT_AABB| Constructor and Description |
|---|
BrewingStandTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
void |
clear() |
boolean[] |
createFilledSlotsArray() |
protected Container |
createMenu(int id,
PlayerInventory player) |
ItemStack |
decrStackSize(int index,
int count) |
<T> LazyOptional<T> |
getCapability(Capability<T> capability,
Direction facing)
Retrieves the Optional handler for the capability requested on the specific side.
|
protected ITextComponent |
getDefaultName() |
int |
getSizeInventory() |
int[] |
getSlotsForFace(Direction side) |
ItemStack |
getStackInSlot(int index) |
boolean |
isEmpty() |
boolean |
isItemValidForSlot(int index,
ItemStack stack) |
boolean |
isUsableByPlayer(PlayerEntity player) |
void |
read(CompoundNBT compound) |
void |
remove() |
ItemStack |
removeStackFromSlot(int index) |
void |
setInventorySlotContents(int index,
ItemStack stack) |
void |
tick() |
CompoundNBT |
write(CompoundNBT compound) |
canOpen, canUnlock, createMenu, createUnSidedHandler, getCustomName, getDisplayName, getName, setCustomNameaddInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, rotate, setPos, setWorld, updateContainingBlockInfo, validate, warnInvalidBlockareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseInventory, count, getInventoryStackLimit, hasAny, markDirty, openInventoryclearObjhasCustomNamecanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapabilityprotected final IIntArray field_213954_a
protected ITextComponent getDefaultName()
getDefaultName in class LockableTileEntitypublic int getSizeInventory()
getSizeInventory in interface IInventorypublic boolean isEmpty()
isEmpty in interface IInventorypublic void tick()
tick in interface ITickableTileEntitypublic boolean[] createFilledSlotsArray()
public void read(CompoundNBT compound)
read in class LockableTileEntitypublic CompoundNBT write(CompoundNBT compound)
write in class LockableTileEntitypublic ItemStack getStackInSlot(int index)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int index, int count)
decrStackSize in interface IInventorypublic ItemStack removeStackFromSlot(int index)
removeStackFromSlot in interface IInventorypublic void setInventorySlotContents(int index,
ItemStack stack)
setInventorySlotContents in interface IInventorypublic boolean isUsableByPlayer(PlayerEntity player)
isUsableByPlayer in interface IInventorypublic boolean isItemValidForSlot(int index,
ItemStack stack)
isItemValidForSlot in interface IInventorypublic int[] getSlotsForFace(Direction side)
getSlotsForFace in interface ISidedInventorypublic boolean canInsertItem(int index,
ItemStack itemStackIn,
@Nullable
Direction direction)
canInsertItem in interface ISidedInventorypublic boolean canExtractItem(int index,
ItemStack stack,
Direction direction)
canExtractItem in interface ISidedInventorypublic void clear()
clear in interface IClearableprotected Container createMenu(int id, PlayerInventory player)
createMenu in class LockableTileEntitypublic <T> LazyOptional<T> getCapability(Capability<T> capability, @Nullable Direction facing)
ICapabilityProvidergetCapability in interface ICapabilityProvidergetCapability in class LockableTileEntitypublic void remove()
remove in class LockableTileEntity