Package net.minecraft.block
Class ComposterBlock.EmptyInventory
java.lang.Object
net.minecraft.inventory.Inventory
net.minecraft.block.ComposterBlock.EmptyInventory
- All Implemented Interfaces:
IClearable
,IInventory
,IRecipeHelperPopulator
,ISidedInventory
- Enclosing class:
- ComposterBlock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canPlaceItemThroughFace
(int p_180462_1_, ItemStack p_180462_2_, Direction p_180462_3_) boolean
canTakeItemThroughFace
(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) int[]
getSlotsForFace
(Direction p_180463_1_) Methods inherited from class net.minecraft.inventory.Inventory
addItem, addListener, canAddItem, clearContent, createTag, fillStackedContents, fromTag, getContainerSize, getItem, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, stillValid, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.inventory.IClearable
clearContent
Methods inherited from interface net.minecraft.inventory.IInventory
canPlaceItem, countItem, getContainerSize, getItem, getMaxStackSize, hasAnyOf, isEmpty, removeItem, removeItemNoUpdate, setChanged, setItem, startOpen, stillValid, stopOpen
-
Constructor Details
-
EmptyInventory
public EmptyInventory()
-
-
Method Details
-
getSlotsForFace
- Specified by:
getSlotsForFace
in interfaceISidedInventory
-
canPlaceItemThroughFace
public boolean canPlaceItemThroughFace(int p_180462_1_, ItemStack p_180462_2_, @Nullable Direction p_180462_3_) - Specified by:
canPlaceItemThroughFace
in interfaceISidedInventory
-
canTakeItemThroughFace
public boolean canTakeItemThroughFace(int p_180461_1_, ItemStack p_180461_2_, Direction p_180461_3_) - Specified by:
canTakeItemThroughFace
in interfaceISidedInventory
-