From 9c88302ba5542a9aeaa1abd6fbe1d1251c66272f Mon Sep 17 00:00:00 2001 From: supersaiyansubtlety Date: Fri, 11 Oct 2024 00:04:01 -0700 Subject: [PATCH] rename LivingEntity setCurrentHand -> tryStartUsing and add javadoc Co-authored-by: ix0rai --- mappings/net/minecraft/entity/LivingEntity.mapping | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mappings/net/minecraft/entity/LivingEntity.mapping b/mappings/net/minecraft/entity/LivingEntity.mapping index 246134634e..6e1d68e087 100644 --- a/mappings/net/minecraft/entity/LivingEntity.mapping +++ b/mappings/net/minecraft/entity/LivingEntity.mapping @@ -120,7 +120,10 @@ CLASS net/minecraft/unmapped/C_usxaxydn net/minecraft/entity/LivingEntity METHOD m_awmtskvv getMovementSpeed (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_bftuqrdn onKilledBy (Lnet/minecraft/unmapped/C_usxaxydn;)V COMMENT Performs secondary effects after this mob has been killed.