2020-05-21 07:35:58 -04:00
|
|
|
CLASS net/minecraft/class_1277 net/minecraft/inventory/SimpleInventory
|
2020-03-27 14:04:46 -04:00
|
|
|
FIELD field_5828 stacks Lnet/minecraft/class_2371;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_5829 listeners Ljava/util/List;
|
|
|
|
FIELD field_5831 size I
|
2019-05-05 18:31:29 -04:00
|
|
|
METHOD <init> (I)V
|
|
|
|
ARG 1 size
|
2019-07-08 12:09:22 -04:00
|
|
|
METHOD <init> ([Lnet/minecraft/class_1799;)V
|
2019-05-05 18:31:29 -04:00
|
|
|
ARG 1 items
|
2020-03-27 14:04:46 -04:00
|
|
|
METHOD method_20631 removeItem (Lnet/minecraft/class_1792;I)Lnet/minecraft/class_1799;
|
|
|
|
COMMENT Searches this inventory for the specified item and removes the given amount from this inventory.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @return the stack of removed items
|
2019-06-23 13:55:59 -04:00
|
|
|
ARG 1 item
|
|
|
|
ARG 2 count
|
2019-09-12 09:28:23 -04:00
|
|
|
METHOD method_20632 transfer (Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
|
|
|
|
ARG 1 source
|
|
|
|
ARG 2 target
|
|
|
|
METHOD method_20633 addToNewSlot (Lnet/minecraft/class_1799;)V
|
|
|
|
ARG 1 stack
|
|
|
|
METHOD method_20634 addToExistingSlot (Lnet/minecraft/class_1799;)V
|
|
|
|
ARG 1 stack
|
2021-04-02 08:01:06 -04:00
|
|
|
METHOD method_20635 (Lnet/minecraft/class_1799;)Z
|
|
|
|
ARG 0 stack
|
|
|
|
METHOD method_24513 (Lnet/minecraft/class_1799;)Z
|
|
|
|
ARG 0 stack
|
2020-02-24 15:14:56 -05:00
|
|
|
METHOD method_24514 clearToList ()Ljava/util/List;
|
|
|
|
COMMENT Clears this inventory and return all the non-empty stacks in a list.
|
2020-05-06 16:49:35 -04:00
|
|
|
METHOD method_27070 canInsert (Lnet/minecraft/class_1799;)Z
|
|
|
|
ARG 1 stack
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5488 removeListener (Lnet/minecraft/class_1265;)V
|
2021-10-15 11:23:39 -04:00
|
|
|
ARG 1 listener
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5489 addListener (Lnet/minecraft/class_1265;)V
|
2020-02-24 15:14:56 -05:00
|
|
|
ARG 1 listener
|
2020-03-27 14:04:46 -04:00
|
|
|
METHOD method_5491 addStack (Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
|
2020-02-24 15:14:56 -05:00
|
|
|
ARG 1 stack
|
2021-04-02 17:03:30 -04:00
|
|
|
METHOD method_7659 readNbtList (Lnet/minecraft/class_2499;)V
|
|
|
|
ARG 1 nbtList
|
|
|
|
METHOD method_7660 toNbtList ()Lnet/minecraft/class_2499;
|