mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-29 11:23:52 -07:00
Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -39,9 +39,10 @@ public class Potion {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the type of the potion
|
||||
* @param tier the tier of the potion
|
||||
* @deprecated In favour of {@link #Potion(PotionType, int)}
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
*/
|
||||
@Deprecated
|
||||
public Potion(PotionType type, Tier tier) {
|
||||
this(type, tier == Tier.TWO ? 2 : 1);
|
||||
@@ -49,19 +50,24 @@ public class Potion {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the type of the potion
|
||||
* @param tier the tier of the potion
|
||||
* @param splash whether the potion is a splash potion
|
||||
* @deprecated In favour of {@link #Potion(PotionType, int, boolean)}
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
@Deprecated
|
||||
public Potion(PotionType type, Tier tier, boolean splash) {
|
||||
this(type, tier == Tier.TWO ? 2 : 1, splash);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param type the type of the potion
|
||||
* @param tier the tier of the potion
|
||||
* @param splash whether the potion is a splash potion
|
||||
* @param extended whether the potion has an extended duration
|
||||
* @deprecated In favour of {@link #Potion(PotionType, int, boolean,
|
||||
* boolean)}
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
@Deprecated
|
||||
public Potion(PotionType type, Tier tier, boolean splash, boolean extended) {
|
||||
this(type, tier, splash);
|
||||
@@ -381,6 +387,8 @@ public class Potion {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param damage the damage value
|
||||
* @return the produced potion
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -433,6 +441,7 @@ public class Potion {
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the name id
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
|
@@ -32,6 +32,7 @@ public enum PotionType {
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the damage value
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -49,6 +50,8 @@ public enum PotionType {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param damage the damage value
|
||||
* @return the matching potion type or null
|
||||
* @deprecated Magic value
|
||||
*/
|
||||
@Deprecated
|
||||
|
Reference in New Issue
Block a user