Skip to content

Commit

Permalink
Use @link instead of @linkplain
Browse files Browse the repository at this point in the history
  • Loading branch information
ApexModder committed Sep 3, 2024
1 parent 679cd7d commit 82ec505
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ default ResourceLocation getArmorTexture(ItemStack stack, Entity entity, Equipme
* Called when a entity tries to play the 'swing' animation.
*
* @param entity The entity swinging the item.
* @return True to cancel any further processing by {@linkplain LivingEntity}
* @return True to cancel any further processing by {@link LivingEntity}
* @deprecated To be replaced with hand sensitive version in 21.2
* @see #onEntitySwing(ItemStack, LivingEntity, InteractionHand)
*/
Expand All @@ -350,7 +350,7 @@ default boolean onEntitySwing(ItemStack stack, LivingEntity entity) {
* Called when a entity tries to play the 'swing' animation.
*
* @param entity The entity swinging the item.
* @return True to cancel any further processing by {@linkplain LivingEntity}
* @return True to cancel any further processing by {@link LivingEntity}
*/
default boolean onEntitySwing(ItemStack stack, LivingEntity entity, InteractionHand hand) {
return onEntitySwing(stack, entity);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ default boolean canDisableShield(ItemStack shield, LivingEntity entity, LivingEn
* Called when a entity tries to play the 'swing' animation.
*
* @param entity The entity swinging the item.
* @return True to cancel any further processing by {@linkplain LivingEntity}
* @return True to cancel any further processing by {@link LivingEntity}
* @deprecated To be replaced with hand sensitive version in 21.2
* @see #onEntitySwing(LivingEntity, InteractionHand)
*/
Expand All @@ -232,7 +232,7 @@ default boolean onEntitySwing(LivingEntity entity) {
*
* @param entity The entity swinging the item.
* @param hand The hand the item is held in.
* @return True to cancel any further processing by {@linkplain LivingEntity}
* @return True to cancel any further processing by {@link LivingEntity}
*/
default boolean onEntitySwing(LivingEntity entity, InteractionHand hand) {
return self().getItem().onEntitySwing(self(), entity, hand);
Expand Down

0 comments on commit 82ec505

Please sign in to comment.