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
This commit is contained in:
haykam821 2021-02-22 16:32:58 -05:00 committed by GitHub
parent 0025fbf845
commit aa417fd92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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