Add javadoc to getItemBarStep (#2610)

* Update ItemStack.mapping

* clarify length

* change to return javadoc

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

* change to return javadoc

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

Co-authored-by: liach <7806504+liach@users.noreply.github.com>
This commit is contained in:
Devan-Kerman 2021-08-02 05:09:59 -05:00 committed by GitHub
parent 19914956ae
commit 56ae93966e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -164,7 +164,9 @@ CLASS net/minecraft/class_1799 net/minecraft/item/ItemStack
ARG 1 otherStack
METHOD method_31578 isItemBarVisible ()Z
METHOD method_31579 getItemBarStep ()I
COMMENT {@return the length of the filled section of the durability bar in pixels (out of 13)}
METHOD method_31580 getItemBarColor ()I
COMMENT {@return the color of the filled section of the durability bar}
METHOD method_32347 getTooltipData ()Ljava/util/Optional;
METHOD method_33262 onItemEntityDestroyed (Lnet/minecraft/class_1542;)V
ARG 1 entity