Package net.minecraft.inventory
Interface SingleStackInventory
- All Known Implementing Classes:
JukeboxBlockEntity
- Mappings:
Namespace Name official eez
intermediary net/minecraft/class_8181
named net/minecraft/inventory/SingleStackInventory
-
Field Summary
Fields inherited from interface net.minecraft.inventory.Inventory
field_42619, MAX_COUNT_PER_STACK
-
Method Summary
Methods inherited from interface net.minecraft.inventory.Inventory
canPlayerUse, canTransferTo, containsAny, containsAny, count, getMaxCountPerStack, getStack, isValid, markDirty, onClose, onOpen, removeStack, setStack
-
Method Details
-
size
default int size() -
isEmpty
default boolean isEmpty() -
clear
default void clear() -
getStack
- Mappings:
Namespace Name Mixin selector official ar_
Leez;ar_()Lcfs;
intermediary method_49274
Lnet/minecraft/class_8181;method_49274()Lnet/minecraft/class_1799;
named getStack
Lnet/minecraft/inventory/SingleStackInventory;getStack()Lnet/minecraft/item/ItemStack;
-
removeStack
- Mappings:
Namespace Name Mixin selector official j
Leez;j()Lcfs;
intermediary method_49276
Lnet/minecraft/class_8181;method_49276()Lnet/minecraft/class_1799;
named removeStack
Lnet/minecraft/inventory/SingleStackInventory;removeStack()Lnet/minecraft/item/ItemStack;
-
setStack
- Mappings:
Namespace Name Mixin selector official b
Leez;b(Lcfs;)V
intermediary method_49275
Lnet/minecraft/class_8181;method_49275(Lnet/minecraft/class_1799;)V
named setStack
Lnet/minecraft/inventory/SingleStackInventory;setStack(Lnet/minecraft/item/ItemStack;)V
-
removeStack
Removes the stack currently stored at the indicated slot.- Specified by:
removeStack
in interfaceInventory
- Returns:
- the stack previously stored at the indicated slot.
- Mappings:
Namespace Name Mixin selector official b
Lbdn;b(I)Lcfs;
intermediary method_5441
Lnet/minecraft/class_1263;method_5441(I)Lnet/minecraft/class_1799;
named removeStack
Lnet/minecraft/inventory/Inventory;removeStack(I)Lnet/minecraft/item/ItemStack;
-