Fix wrong method name in ItemGroup. (#1676)

* Fix wrong name in ItemGroup.

* woops

* Update mappings/net/minecraft/item/ItemGroup.mapping

Co-authored-by: liach <7806504+liach@users.noreply.github.com>

* Update mappings/net/minecraft/item/ItemGroup.mapping

Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>

* Describe where the name is rendered.

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: haykam821 <24855774+haykam821@users.noreply.github.com>
This commit is contained in:
i509VCB 2020-08-12 02:23:24 -05:00 committed by GitHub
parent 06f2d309f0
commit 416df08bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -3,7 +3,7 @@ CLASS net/minecraft/class_1761 net/minecraft/item/ItemGroup
FIELD field_7914 REDSTONE Lnet/minecraft/class_1761;
FIELD field_7915 SEARCH Lnet/minecraft/class_1761;
FIELD field_7916 COMBAT Lnet/minecraft/class_1761;
FIELD field_7917 tooltip Z
FIELD field_7917 renderName Z
FIELD field_7918 INVENTORY Lnet/minecraft/class_1761;
FIELD field_7919 texture Ljava/lang/String;
FIELD field_7920 scrollbar Z
@ -39,13 +39,17 @@ CLASS net/minecraft/class_1761 net/minecraft/item/ItemGroup
METHOD method_7745 setEnchantments ([Lnet/minecraft/class_1886;)Lnet/minecraft/class_1761;
ARG 1 targets
METHOD method_7747 getIcon ()Lnet/minecraft/class_1799;
METHOD method_7748 setNoTooltip ()Lnet/minecraft/class_1761;
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_7751 getName ()Ljava/lang/String;
METHOD method_7752 isSpecial ()Z
METHOD method_7753 setTexture (Ljava/lang/String;)Lnet/minecraft/class_1761;
ARG 1 texture
METHOD method_7754 hasTooltip ()Z
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