mirror of https://github.com/FabricMC/yarn.git
33 lines
1.5 KiB
Plaintext
33 lines
1.5 KiB
Plaintext
CLASS net/minecraft/class_1761 net/minecraft/item/ItemGroup
|
|
COMMENT A group of items that the items belong to. This is used by the creative inventory.
|
|
COMMENT Use {@link Item.Settings#group(ItemGroup)} to assign an item group to an item.
|
|
COMMENT
|
|
COMMENT @see Item#appendStacks
|
|
COMMENT @see Item#isIn(ItemGroup)
|
|
FIELD field_26391 displayName Lnet/minecraft/class_2561;
|
|
FIELD field_7917 renderName Z
|
|
FIELD field_7919 texture Ljava/lang/String;
|
|
FIELD field_7920 scrollbar Z
|
|
FIELD field_7933 index I
|
|
FIELD field_7934 icon Lnet/minecraft/class_1799;
|
|
METHOD <init> (ILnet/minecraft/class_2561;)V
|
|
ARG 1 index
|
|
METHOD method_7737 getDisplayName ()Lnet/minecraft/class_2561;
|
|
METHOD method_7741 getIndex ()I
|
|
METHOD method_7742 getTexture ()Ljava/lang/String;
|
|
METHOD method_7743 getColumn ()I
|
|
METHOD method_7747 getIcon ()Lnet/minecraft/class_1799;
|
|
METHOD method_7748 hideName ()Lnet/minecraft/class_1761;
|
|
COMMENT Specifies that when this item group is selected, the name of the item group should not be rendered.
|
|
METHOD method_7749 setNoScrollbar ()Lnet/minecraft/class_1761;
|
|
METHOD method_7750 createIcon ()Lnet/minecraft/class_1799;
|
|
METHOD method_7752 isSpecial ()Z
|
|
METHOD method_7753 setTexture (Ljava/lang/String;)Lnet/minecraft/class_1761;
|
|
ARG 1 texture
|
|
METHOD method_7754 shouldRenderName ()Z
|
|
COMMENT Checks if this item group should render its name.
|
|
COMMENT
|
|
COMMENT <p>The name is rendered below the top row of item groups and above the inventory.
|
|
METHOD method_7755 isTopRow ()Z
|
|
METHOD method_7756 hasScrollbar ()Z
|