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

18 lines
904 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 furnaces.
METHOD method_5492 canInsert (ILnet/minecraft/class_1799;Lnet/minecraft/class_2350;)Z
2023-08-24 19:01:48 -04:00
COMMENT {@return whether the given stack can be inserted into this inventory
COMMENT 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
2023-08-24 19:01:48 -04:00
COMMENT {@return whether the given stack can be removed from this inventory at the
COMMENT 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
2023-08-24 19:01:48 -04:00
COMMENT {@return the available slot positions that are reachable from a given side}
2019-06-28 17:55:20 -04:00
ARG 1 side