From 56ae93966e4026ede03c4878d3400e30f7c0171f Mon Sep 17 00:00:00 2001 From: Devan-Kerman Date: Mon, 2 Aug 2021 05:09:59 -0500 Subject: [PATCH] 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> --- mappings/net/minecraft/item/ItemStack.mapping | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mappings/net/minecraft/item/ItemStack.mapping b/mappings/net/minecraft/item/ItemStack.mapping index dfa687c18e..0b9816697e 100644 --- a/mappings/net/minecraft/item/ItemStack.mapping +++ b/mappings/net/minecraft/item/ItemStack.mapping @@ -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