From 358786774c448e51e65f180fc2da872f7d4243ff Mon Sep 17 00:00:00 2001 From: Pedro <3602279+Doc94@users.noreply.github.com> Date: Sun, 18 May 2025 13:23:52 -0400 Subject: [PATCH] [ci skip] Fix format and mentions for ItemDamageFunction (#12560) --- .../datacomponent/item/blocksattacks/ItemDamageFunction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/io/papermc/paper/datacomponent/item/blocksattacks/ItemDamageFunction.java b/paper-api/src/main/java/io/papermc/paper/datacomponent/item/blocksattacks/ItemDamageFunction.java index 965b12fc6..e7301fc1f 100644 --- a/paper-api/src/main/java/io/papermc/paper/datacomponent/item/blocksattacks/ItemDamageFunction.java +++ b/paper-api/src/main/java/io/papermc/paper/datacomponent/item/blocksattacks/ItemDamageFunction.java @@ -40,14 +40,14 @@ public interface ItemDamageFunction { /** * Get the fraction of the dealt damage that should be applied to the item, if threshold is passed. * - * @return the base + * @return the factor */ float factor(); /** * Get the damage to apply for the item. * - * @apiNote this doesn't apply enchantments like {@link org.bukkit.enchantments.Enchantment#UNBREAKING}} + * @apiNote this doesn't apply enchantments like {@link org.bukkit.enchantments.Enchantment#UNBREAKING} * @return the damage to apply */ int damageToApply(float damage);