Javadoc improvements per checkstyle

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-12-22 09:56:28 +11:00
parent d419ccca3f
commit d16413b877
96 changed files with 181 additions and 48 deletions

View File

@@ -116,6 +116,7 @@ public abstract class InventoryView {
}
/**
* Gets the id of this view.
*
* @return the id of this view
* @deprecated Magic value
@@ -264,7 +265,7 @@ public abstract class InventoryView {
// Player crafting slots are indexed differently. The matrix is caught by the first return.
// Creative mode is the same, except that you can't see the crafting slots (but the IDs are still used)
if (getType() == InventoryType.CRAFTING || getType() == InventoryType.CREATIVE) {
/**
/*
* Raw Slots:
*
* 5 1 2 0
@@ -277,7 +278,7 @@ public abstract class InventoryView {
* 36 37 38 39 40 41 42 43 44
*/
/**
/*
* Converted Slots:
*
* 39 1 2 0

View File

@@ -351,10 +351,10 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
* @param modifier the {@link AttributeModifier} to remove
* @return if any attribute modifiers were remove
*
* @see AttributeModifier#getUniqueId()
*
* @throws NullPointerException if the Attribute is null
* @throws NullPointerException if the AttributeModifier is null
*
* @see AttributeModifier#getUniqueId()
*/
boolean removeAttributeModifier(@NotNull Attribute attribute, @NotNull AttributeModifier modifier);
@@ -380,7 +380,7 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable, Persiste
* Internal use only! Do not use under any circumstances!
*
* @param version version
* @deprecated
* @deprecated internal use only
*/
@Deprecated
void setVersion(int version);

View File

@@ -0,0 +1,6 @@
/**
* The interfaces used when manipulating extra data can can be stored inside
* {@link org.bukkit.inventory.ItemStack item stacks}.
*/
package org.bukkit.inventory.meta;

View File

@@ -0,0 +1,4 @@
/**
* Classes that allow attaching custom data to items.
*/
package org.bukkit.inventory.meta.tags;

View File

@@ -0,0 +1,5 @@
/**
* Classes involved in manipulating player inventories and item interactions.
*/
package org.bukkit.inventory;