From aa417fd92ffad8e286e6599fb52978d8a1b7288e Mon Sep 17 00:00:00 2001 From: haykam821 <24855774+haykam821@users.noreply.github.com> Date: Mon, 22 Feb 2021 16:32:58 -0500 Subject: [PATCH] Fix the name of and add documentation to the ItemStack#isSectionVisible method (#2096) * Fix the ItemStack#isSectionHidden method name being incorrect Fixes #2095 * Document the ItemStack#isSectionVisible method --- mappings/net/minecraft/item/ItemStack.mapping | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mappings/net/minecraft/item/ItemStack.mapping b/mappings/net/minecraft/item/ItemStack.mapping index 5cf9cc9ec6..eb16ecda4a 100644 --- a/mappings/net/minecraft/item/ItemStack.mapping +++ b/mappings/net/minecraft/item/ItemStack.mapping @@ -37,7 +37,8 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack METHOD method_27320 setHolder (Lnet/minecraft/class_1297;)V ARG 1 holder METHOD method_30266 getHideFlags ()I - METHOD method_30267 isSectionHidden (ILnet/minecraft/class_1799$class_5422;)Z + METHOD method_30267 isSectionVisible (ILnet/minecraft/class_1799$class_5422;)Z + COMMENT Determines whether the given tooltip section will be visible according to the given flags. ARG 0 flags ARG 1 tooltipSection METHOD method_30268 addHideFlag (Lnet/minecraft/class_1799$class_5422;)V