mirror of https://github.com/FabricMC/yarn.git
Block.addStacksForDisplay -> appendStacks + docs (#2538)
Closes #2537. Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
db44f9c249
commit
91c7aa7036
|
@ -179,9 +179,12 @@ CLASS net/minecraft/class_2248 net/minecraft/block/Block
|
|||
ARG 0 world
|
||||
ARG 1 pos
|
||||
ARG 2 stack
|
||||
METHOD method_9578 addStacksForDisplay (Lnet/minecraft/class_1761;Lnet/minecraft/class_2371;)V
|
||||
METHOD method_9578 appendStacks (Lnet/minecraft/class_1761;Lnet/minecraft/class_2371;)V
|
||||
COMMENT Appends the stacks of this block shown in the item group to the list.
|
||||
COMMENT
|
||||
COMMENT @see net.minecraft.item.BlockItem#appendStacks(ItemGroup, DefaultedList)
|
||||
ARG 1 group
|
||||
ARG 2 list
|
||||
ARG 2 stacks
|
||||
METHOD method_9579 isTranslucent (Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;)Z
|
||||
ARG 1 state
|
||||
ARG 2 world
|
||||
|
|
|
@ -97,6 +97,9 @@ CLASS net/minecraft/class_1792 net/minecraft/item/Item
|
|||
ARG 4 hand
|
||||
METHOD method_7848 getName ()Lnet/minecraft/class_2561;
|
||||
METHOD method_7850 appendStacks (Lnet/minecraft/class_1761;Lnet/minecraft/class_2371;)V
|
||||
COMMENT Appends the stacks of this item shown in the item group to the list.
|
||||
COMMENT
|
||||
COMMENT @see #isIn(ItemGroup)
|
||||
ARG 1 group
|
||||
ARG 2 stacks
|
||||
METHOD method_7851 appendTooltip (Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Ljava/util/List;Lnet/minecraft/class_1836;)V
|
||||
|
|
Loading…
Reference in New Issue