yarn/mappings/net/minecraft/inventory/SidedInventory.mapping

16 lines
883 B
Plaintext

CLASS net/minecraft/class_1278 net/minecraft/inventory/SidedInventory
COMMENT A special inventory interface for inventories that expose different slots for different sides, such as hoppers.
METHOD method_5492 canInsert (ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z
COMMENT Determines whether the given stack can be inserted into this inventory at the specified slot position from the given direction.
ARG 1 slot
ARG 2 stack
ARG 3 dir
METHOD method_5493 canExtract (ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z
COMMENT Determines whether the given stack can be removed from this inventory at the specified slot position from the given direction.
ARG 1 slot
ARG 2 stack
ARG 3 dir
METHOD method_5494 getAvailableSlots (Lnet/minecraft/class_2350;)[I
COMMENT Gets the available slot positions that are reachable from a given side.
ARG 1 side