Fix some javadoc warnings
Also remove a couple old/broken deprecated methods By: md_5 <git@md-5.net>
This commit is contained in:
@@ -25,7 +25,7 @@ public interface AbstractHorse extends Animals, Vehicle, InventoryHolder, Tameab
|
||||
public Horse.Variant getVariant();
|
||||
|
||||
/**
|
||||
* @param variant
|
||||
* @param variant variant
|
||||
* @deprecated you are required to spawn a different entity
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -138,6 +138,7 @@ public interface AreaEffectCloud extends Entity {
|
||||
/**
|
||||
* Sets the particle which this cloud will be composed of
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the new particle type
|
||||
* @param data the data to use for the particle or null,
|
||||
* the type of this depends on {@link Particle#getDataType()}
|
||||
|
||||
@@ -12,7 +12,7 @@ public interface Guardian extends Monster {
|
||||
public boolean isElder();
|
||||
|
||||
/**
|
||||
* @param shouldBeElder
|
||||
* @param shouldBeElder shouldBeElder
|
||||
* @deprecated Must spawn a new {@link ElderGuardian}.
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -154,7 +154,7 @@ public interface Horse extends AbstractHorse {
|
||||
public boolean isCarryingChest();
|
||||
|
||||
/**
|
||||
* @param chest
|
||||
* @param chest chest
|
||||
* @deprecated see {@link ChestedHorse}
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -1258,6 +1258,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* Spawns the particle (the number of times specified by count)
|
||||
* at the target location.
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the particle to spawn
|
||||
* @param location the location to spawn at
|
||||
* @param count the number of particles
|
||||
@@ -1271,6 +1272,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* Spawns the particle (the number of times specified by count)
|
||||
* at the target location.
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the particle to spawn
|
||||
* @param x the position on the x axis to spawn at
|
||||
* @param y the position on the y axis to spawn at
|
||||
@@ -1319,6 +1321,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* randomized positively and negatively by the offset parameters
|
||||
* on each axis.
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the particle to spawn
|
||||
* @param location the location to spawn at
|
||||
* @param count the number of particles
|
||||
@@ -1336,6 +1339,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* randomized positively and negatively by the offset parameters
|
||||
* on each axis.
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the particle to spawn
|
||||
* @param x the position on the x axis to spawn at
|
||||
* @param y the position on the y axis to spawn at
|
||||
@@ -1391,6 +1395,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* randomized positively and negatively by the offset parameters
|
||||
* on each axis.
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the particle to spawn
|
||||
* @param location the location to spawn at
|
||||
* @param count the number of particles
|
||||
@@ -1410,6 +1415,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
* randomized positively and negatively by the offset parameters
|
||||
* on each axis.
|
||||
*
|
||||
* @param <T> type of particle data (see {@link Particle#getDataType()}
|
||||
* @param particle the particle to spawn
|
||||
* @param x the position on the x axis to spawn at
|
||||
* @param y the position on the y axis to spawn at
|
||||
|
||||
@@ -19,6 +19,7 @@ public interface Skeleton extends Monster {
|
||||
public SkeletonType getSkeletonType();
|
||||
|
||||
/**
|
||||
* @param type type
|
||||
* @deprecated Must spawn a new subtype variant
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -32,7 +32,7 @@ public interface Zombie extends Monster {
|
||||
public boolean isVillager();
|
||||
|
||||
/**
|
||||
* @param flag
|
||||
* @param flag flag
|
||||
* @deprecated must spawn {@link ZombieVillager}.
|
||||
*/
|
||||
@Deprecated
|
||||
@@ -40,7 +40,7 @@ public interface Zombie extends Monster {
|
||||
public void setVillager(boolean flag);
|
||||
|
||||
/**
|
||||
* @param profession
|
||||
* @param profession profession
|
||||
* @see ZombieVillager#getVillagerProfession()
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
Reference in New Issue
Block a user