13
0
geforkt von Mirrors/Paper

Fix JavaDoc errors

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2024-04-24 01:47:31 +10:00
Ursprung bfd5351193
Commit d1a68a02b4
4 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -23,7 +23,7 @@ public enum EntityCategory {
* <li>Are subject to burning in daylight (though not all).
* <li>Sink in water (except {@link Drowned}, {@link Phantom Phantoms}
* and {@link Wither Withers}).
* <li>Take additional damage from {@link Enchantment#DAMAGE_UNDEAD}.
* <li>Take additional damage from {@link Enchantment#SMITE}.
* <li>Are ignored by {@link Wither Withers}.
* </ul>
*/
@ -31,8 +31,8 @@ public enum EntityCategory {
/**
* Entities of the arthropod family. These creatures:
* <ul>
* <li>Take additional damage and receive {@link PotionEffectType#SLOW}
* from {@link Enchantment#DAMAGE_ARTHROPODS}.
* <li>Take additional damage and receive {@link PotionEffectType#SLOWNESS}
* from {@link Enchantment#BANE_OF_ARTHROPODS}.
* <li>Are immune to {@link PotionEffectType#POISON} if they are spiders.
* </ul>
*/

Datei anzeigen

@ -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

Datei anzeigen

@ -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);

Datei anzeigen

@ -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.