Skip to content

Commit

Permalink
rename LivingEntity setCurrentHand -> tryStartUsing and add javadoc
Browse files Browse the repository at this point in the history
Co-authored-by: ix0rai <[email protected]>
  • Loading branch information
supersaiyansubtlety and ix0rai committed Oct 11, 2024
1 parent 3055d25 commit 9c88302
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mappings/net/minecraft/entity/LivingEntity.mapping
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 9c88302

Please sign in to comment.