2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories
|
2020-08-23 17:02:35 -04:00
|
|
|
METHOD method_29234 remove (Lnet/minecraft/class_1263;Ljava/util/function/Predicate;IZ)I
|
|
|
|
COMMENT Removes a number, not exceeding {@code maxCount}, of items from an inventory based on a predicate and returns that number.
|
|
|
|
COMMENT @return the number of items removed
|
|
|
|
ARG 0 inventory
|
|
|
|
ARG 1 shouldRemove
|
|
|
|
ARG 2 maxCount
|
|
|
|
ARG 3 dryRun
|
|
|
|
COMMENT whether to return the number of items which would have been removed without actually removing them
|
|
|
|
METHOD method_29235 remove (Lnet/minecraft/class_1799;Ljava/util/function/Predicate;IZ)I
|
|
|
|
COMMENT Removes a number, not exceeding {@code maxCount}, of items from an item stack based on a predicate and returns that number.
|
|
|
|
COMMENT @return the number of items removed
|
|
|
|
ARG 0 stack
|
|
|
|
ARG 1 shouldRemove
|
|
|
|
ARG 2 maxCount
|
|
|
|
ARG 3 dryRun
|
|
|
|
COMMENT whether to return the number of items which would have been removed without actually removing them
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5426 toTag (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;)Lnet/minecraft/class_2487;
|
2017-05-13 02:18:40 -04:00
|
|
|
ARG 0 tag
|
|
|
|
ARG 1 stacks
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5427 toTag (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;Z)Lnet/minecraft/class_2487;
|
2017-05-13 02:18:40 -04:00
|
|
|
ARG 0 tag
|
|
|
|
ARG 1 stacks
|
|
|
|
ARG 2 setIfEmpty
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5428 removeStack (Ljava/util/List;I)Lnet/minecraft/class_1799;
|
2017-05-13 02:02:51 -04:00
|
|
|
ARG 0 stacks
|
|
|
|
ARG 1 slot
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_5429 fromTag (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;)V
|
|
|
|
ARG 0 tag
|
|
|
|
ARG 1 stacks
|
|
|
|
METHOD method_5430 splitStack (Ljava/util/List;II)Lnet/minecraft/class_1799;
|
2017-05-13 02:02:51 -04:00
|
|
|
ARG 0 stacks
|
|
|
|
ARG 1 slot
|
|
|
|
ARG 2 amount
|