Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename LivingEntity setCurrentHand -> tryStartUsing and add javadoc #653

Open
wants to merge 10 commits into
base: 1.21.4-pre2
Choose a base branch
from
5 changes: 4 additions & 1 deletion mappings/net/minecraft/entity/LivingEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ CLASS net/minecraft/unmapped/C_usxaxydn net/minecraft/entity/LivingEntity
METHOD m_awmtskvv getAccelerationFactor (F)F
ARG 1 slipperiness
METHOD m_axkhmdzu getDeathSound ()Lnet/minecraft/unmapped/C_avavozay;
METHOD m_ayeajhdm setCurrentHand (Lnet/minecraft/unmapped/C_laxmzoqs;)V
METHOD m_ayeajhdm tryStartUsing (Lnet/minecraft/unmapped/C_laxmzoqs;)V
COMMENT If the passed {@link net.minecraft.util.Hand hand} holds an
COMMENT {@link net.minecraft.item.ItemStack item} and one is not already being used,
COMMENT starts using the held {@link net.minecraft.item.ItemStack item}.
ARG 1 hand
METHOD m_ayqytazn hasLineOfSight (Lnet/minecraft/unmapped/C_astfners;)Z
METHOD m_bftuqrdn onKilledBy (Lnet/minecraft/unmapped/C_usxaxydn;)V
Expand Down