mirror of https://github.com/FabricMC/yarn.git
35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
CLASS net/minecraft/class_1262 net/minecraft/inventory/Inventories
|
|
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
|
|
METHOD method_5426 writeNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;)Lnet/minecraft/class_2487;
|
|
ARG 0 nbt
|
|
ARG 1 stacks
|
|
METHOD method_5427 writeNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;Z)Lnet/minecraft/class_2487;
|
|
ARG 0 nbt
|
|
ARG 1 stacks
|
|
ARG 2 setIfEmpty
|
|
METHOD method_5428 removeStack (Ljava/util/List;I)Lnet/minecraft/class_1799;
|
|
ARG 0 stacks
|
|
ARG 1 slot
|
|
METHOD method_5429 readNbt (Lnet/minecraft/class_2487;Lnet/minecraft/class_2371;)V
|
|
ARG 0 nbt
|
|
ARG 1 stacks
|
|
METHOD method_5430 splitStack (Ljava/util/List;II)Lnet/minecraft/class_1799;
|
|
ARG 0 stacks
|
|
ARG 1 slot
|
|
ARG 2 amount
|