diff --git a/paper-api/src/main/java/org/bukkit/entity/EntityCategory.java b/paper-api/src/main/java/org/bukkit/entity/EntityCategory.java index fd960f20c7..3e2ae87c80 100644 --- a/paper-api/src/main/java/org/bukkit/entity/EntityCategory.java +++ b/paper-api/src/main/java/org/bukkit/entity/EntityCategory.java @@ -23,7 +23,7 @@ public enum EntityCategory { *
  • Are subject to burning in daylight (though not all). *
  • Sink in water (except {@link Drowned}, {@link Phantom Phantoms} * and {@link Wither Withers}). - *
  • Take additional damage from {@link Enchantment#DAMAGE_UNDEAD}. + *
  • Take additional damage from {@link Enchantment#SMITE}. *
  • Are ignored by {@link Wither Withers}. * */ @@ -31,8 +31,8 @@ public enum EntityCategory { /** * Entities of the arthropod family. These creatures: * */ diff --git a/paper-api/src/main/java/org/bukkit/inventory/ItemFactory.java b/paper-api/src/main/java/org/bukkit/inventory/ItemFactory.java index 096e0d60c4..60ebfab959 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/ItemFactory.java +++ b/paper-api/src/main/java/org/bukkit/inventory/ItemFactory.java @@ -139,7 +139,7 @@ public interface ItemFactory { * The input should match the same input as expected by Minecraft's {@code /give} * command. For example, "minecraft:diamond_sword{Enchantments:[{id:"minecraft:sharpness", lvl:3}]}" * would yield an ItemStack of {@link Material#DIAMOND_SWORD} with an {@link ItemMeta} - * containing a level 3 {@link Enchantment#DAMAGE_ALL} + * containing a level 3 {@link Enchantment#SHARPNESS} * enchantment. * * @param input the item input string diff --git a/paper-api/src/main/java/org/bukkit/inventory/meta/PotionMeta.java b/paper-api/src/main/java/org/bukkit/inventory/meta/PotionMeta.java index b94ac6266f..d5b6d347b2 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/meta/PotionMeta.java +++ b/paper-api/src/main/java/org/bukkit/inventory/meta/PotionMeta.java @@ -87,7 +87,7 @@ public interface PotionMeta extends ItemMeta { * * @param type the potion effect type to move * @return true if the potion meta changed as a result of this call - * @deprecated use {@link #setBasePotionData(org.bukkit.potion.PotionData)} + * @deprecated use {@link #setBasePotionType(org.bukkit.potion.PotionType)} */ @Deprecated boolean setMainEffect(@NotNull PotionEffectType type); diff --git a/paper-api/src/main/java/org/bukkit/loot/LootContext.java b/paper-api/src/main/java/org/bukkit/loot/LootContext.java index 71b7aa9d67..b35dba4206 100644 --- a/paper-api/src/main/java/org/bukkit/loot/LootContext.java +++ b/paper-api/src/main/java/org/bukkit/loot/LootContext.java @@ -54,7 +54,7 @@ public final class LootContext { /** * Represents the - * {@link org.bukkit.enchantments.Enchantment#LOOT_BONUS_MOBS} the + * {@link org.bukkit.enchantments.Enchantment#LOOTING} the * {@link #getKiller()} entity has on their equipped item. * * This value is only set via @@ -124,7 +124,7 @@ public final class LootContext { } /** - * Set the {@link org.bukkit.enchantments.Enchantment#LOOT_BONUS_MOBS} + * Set the {@link org.bukkit.enchantments.Enchantment#LOOTING} * level equivalent to use when generating loot. Values less than or * equal to 0 will force the {@link LootTable} to only return a single * {@link org.bukkit.inventory.ItemStack} per pool.