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

16 lines
883 B
Plaintext
Raw Normal View History

2019-06-28 17:55:20 -04:00
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.
2018-11-04 07:22:38 -05:00
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.
2018-11-04 07:22:38 -05:00
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.
2019-06-28 17:55:20 -04:00
ARG 1 side