Package net.minecraft.block
Class ComposterBlock.DummyInventory
java.lang.Object
net.minecraft.inventory.SimpleInventory
net.minecraft.block.ComposterBlock.DummyInventory
- All Implemented Interfaces:
- Inventory,- SidedInventory,- RecipeInputProvider,- Clearable
- Enclosing class:
- ComposterBlock
private static class ComposterBlock.DummyInventory
extends SimpleInventory
implements SidedInventory
- Mappings:
- Namespace - Name - official - cqw$a- intermediary - net/minecraft/class_3962$class_3925- named - net/minecraft/block/ComposterBlock$DummyInventory
- 
Field SummaryFields inherited from interface net.minecraft.inventory.Inventoryfield_42619, MAX_COUNT_PER_STACK
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanExtract(int slot, ItemStack stack, Direction dir) Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.booleanDetermines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.int[]getAvailableSlots(Direction side) Gets the available slot positions that are reachable from a given side.Methods inherited from class net.minecraft.inventory.SimpleInventoryaddListener, addStack, canInsert, canPlayerUse, clear, clearToList, getStack, isEmpty, markDirty, provideRecipeInputs, readNbtList, removeItem, removeListener, removeStack, removeStack, setStack, size, toNbtList, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.inventory.InventorycanPlayerUse, canTransferTo, containsAny, containsAny, count, getMaxCountPerStack, getStack, isEmpty, isValid, markDirty, onClose, onOpen, removeStack, removeStack, setStack, size
- 
Constructor Details- 
DummyInventorypublic DummyInventory()
 
- 
- 
Method Details- 
getAvailableSlotsGets the available slot positions that are reachable from a given side.- Specified by:
- getAvailableSlotsin interface- SidedInventory
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbeg;a(Lha;)[I- intermediary - method_5494- Lnet/minecraft/class_1278;method_5494(Lnet/minecraft/class_2350;)[I- named - getAvailableSlots- Lnet/minecraft/inventory/SidedInventory;getAvailableSlots(Lnet/minecraft/util/math/Direction;)[I
 
- 
canInsertDetermines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.- Specified by:
- canInsertin interface- SidedInventory
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbeg;a(ILcfz;Lha;)Z- intermediary - method_5492- Lnet/minecraft/class_1278;method_5492(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z- named - canInsert- Lnet/minecraft/inventory/SidedInventory;canInsert(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
 
- 
canExtractDetermines whether the given stack can be removed from this inventory at the specified slot position from the given direction.- Specified by:
- canExtractin interface- SidedInventory
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbeg;b(ILcfz;Lha;)Z- intermediary - method_5493- Lnet/minecraft/class_1278;method_5493(ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z- named - canExtract- Lnet/minecraft/inventory/SidedInventory;canExtract(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
 
 
-