static class ComposterBlock.EmptyInventory extends Inventory implements ISidedInventory
Constructor and Description |
---|
EmptyInventory() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExtractItem(int index,
ItemStack stack,
Direction direction) |
boolean |
canInsertItem(int index,
ItemStack itemStackIn,
Direction direction) |
int[] |
getSlotsForFace(Direction side) |
addItem, addListener, clear, decrStackSize, fillStackedContents, func_223374_a, getSizeInventory, getStackInSlot, isEmpty, isUsableByPlayer, markDirty, removeListener, removeStackFromSlot, setInventorySlotContents, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
closeInventory, count, decrStackSize, getInventoryStackLimit, getSizeInventory, getStackInSlot, hasAny, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeStackFromSlot, setInventorySlotContents
clear, clearObj
public int[] getSlotsForFace(Direction side)
getSlotsForFace
in interface ISidedInventory
public boolean canInsertItem(int index, ItemStack itemStackIn, @Nullable Direction direction)
canInsertItem
in interface ISidedInventory
public boolean canExtractItem(int index, ItemStack stack, Direction direction)
canExtractItem
in interface ISidedInventory