geforkt von Mirrors/Paper
Fix JavaDoc errors
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
bfd5351193
Commit
d1a68a02b4
@ -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>
|
||||
*/
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren