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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcloseInventory, count, decrStackSize, getInventoryStackLimit, getSizeInventory, getStackInSlot, hasAny, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeStackFromSlot, setInventorySlotContentsclear, clearObjpublic 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 ISidedInventory