From 416df08bcb1d3bd4491319110c8c6261262ef448 Mon Sep 17 00:00:00 2001 From: i509VCB Date: Wed, 12 Aug 2020 02:23:24 -0500 Subject: [PATCH] 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> --- mappings/net/minecraft/item/ItemGroup.mapping | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mappings/net/minecraft/item/ItemGroup.mapping b/mappings/net/minecraft/item/ItemGroup.mapping index c29bbedd2c..37afc15879 100644 --- a/mappings/net/minecraft/item/ItemGroup.mapping +++ b/mappings/net/minecraft/item/ItemGroup.mapping @@ -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

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