Fix some javadoc warnings
Also remove a couple old/broken deprecated methods By: md_5 <git@md-5.net>
This commit is contained in:
@@ -132,10 +132,10 @@ public interface ItemFactory {
|
||||
* Apply a material change for an item meta. Do not use under any
|
||||
* circumstances.
|
||||
*
|
||||
* @param meta
|
||||
* @param material
|
||||
* @param meta meta
|
||||
* @param material material
|
||||
* @return updated material
|
||||
* @throws IllegalArgumentException
|
||||
* @throws IllegalArgumentException if bad material or data
|
||||
* @deprecated for internal use only
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -34,7 +34,7 @@ public interface Merchant {
|
||||
*
|
||||
* @param i the index
|
||||
* @return the recipe
|
||||
* @throws IndexOutOfBoundsException
|
||||
* @throws IndexOutOfBoundsException if recipe index out of bounds
|
||||
*/
|
||||
@NotNull
|
||||
MerchantRecipe getRecipe(int i) throws IndexOutOfBoundsException;
|
||||
@@ -44,7 +44,7 @@ public interface Merchant {
|
||||
*
|
||||
* @param i the index
|
||||
* @param recipe the recipe
|
||||
* @throws IndexOutOfBoundsException
|
||||
* @throws IndexOutOfBoundsException if recipe index out of bounds
|
||||
*/
|
||||
void setRecipe(int i, @NotNull MerchantRecipe recipe) throws IndexOutOfBoundsException;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ public interface CrossbowMeta extends ItemMeta {
|
||||
*
|
||||
* Removes all projectiles when given null.
|
||||
*
|
||||
* @param projectiles
|
||||
* @param projectiles the projectiles to set
|
||||
* @throws IllegalArgumentException if one of the projectiles is not an
|
||||
* arrow or firework rocket
|
||||
*/
|
||||
|
||||
@@ -379,7 +379,7 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
|
||||
/**
|
||||
* Internal use only! Do not use under any circumstances!
|
||||
*
|
||||
* @param version
|
||||
* @param version version
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
|
||||
@@ -11,7 +11,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
* different complex types. This may be useful for the likes of a
|
||||
* UUIDItemTagType:
|
||||
* <pre>
|
||||
* <code>{@code
|
||||
* {@code
|
||||
* public class UUIDItemTagType implements ItemTagType<byte[], UUID> {
|
||||
*
|
||||
* {@literal @Override}
|
||||
@@ -39,7 +39,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
* long secondLong = bb.getLong();
|
||||
* return new UUID(firstLong, secondLong);
|
||||
* }
|
||||
* }}</code></pre>
|
||||
* }}</pre>
|
||||
*
|
||||
* @param <T> the primary object type that is stored in the given tag
|
||||
* @param <Z> the retrieved object type when applying this item tag type
|
||||
|
||||
Reference in New Issue
Block a user