diff --git a/src/main/java/net/neoforged/neoforge/common/extensions/IItemExtension.java b/src/main/java/net/neoforged/neoforge/common/extensions/IItemExtension.java index 237300f542..0ae0cb4bc3 100644 --- a/src/main/java/net/neoforged/neoforge/common/extensions/IItemExtension.java +++ b/src/main/java/net/neoforged/neoforge/common/extensions/IItemExtension.java @@ -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) */ @@ -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); diff --git a/src/main/java/net/neoforged/neoforge/common/extensions/IItemStackExtension.java b/src/main/java/net/neoforged/neoforge/common/extensions/IItemStackExtension.java index 3aa1f25c81..f8c61d0bc9 100644 --- a/src/main/java/net/neoforged/neoforge/common/extensions/IItemStackExtension.java +++ b/src/main/java/net/neoforged/neoforge/common/extensions/IItemStackExtension.java @@ -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) */ @@ -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);