mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
No generics in javadocs, what are you doin
This commit is contained in:
parent
fc0ac36500
commit
86f283f9ab
1 changed files with 28 additions and 3 deletions
|
@ -217,9 +217,34 @@ index fe8d3468..074769c1 100644
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
diff --git a/src/main/java/org/bukkit/inventory/meta/ItemMeta.java b/src/main/java/org/bukkit/inventory/meta/ItemMeta.java
|
diff --git a/src/main/java/org/bukkit/inventory/meta/ItemMeta.java b/src/main/java/org/bukkit/inventory/meta/ItemMeta.java
|
||||||
index 2278d470..13a153c8 100644
|
index 2278d470..60ed443a 100644
|
||||||
--- a/src/main/java/org/bukkit/inventory/meta/ItemMeta.java
|
--- a/src/main/java/org/bukkit/inventory/meta/ItemMeta.java
|
||||||
+++ b/src/main/java/org/bukkit/inventory/meta/ItemMeta.java
|
+++ b/src/main/java/org/bukkit/inventory/meta/ItemMeta.java
|
||||||
|
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
|
||||||
|
* <p>
|
||||||
|
* Plugins should check if hasLore() returns <code>true</code> before
|
||||||
|
* calling this method.
|
||||||
|
- *
|
||||||
|
+ *
|
||||||
|
* @return a list of lore that is set
|
||||||
|
*/
|
||||||
|
List<String> getLore();
|
||||||
|
|
||||||
|
/**
|
||||||
|
- * Sets the lore for this item.
|
||||||
|
+ * Sets the lore for this item.
|
||||||
|
* Removes lore when given null.
|
||||||
|
*
|
||||||
|
* @param lore the lore that will be set
|
||||||
|
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
|
||||||
|
int getEnchantLevel(Enchantment ench);
|
||||||
|
|
||||||
|
/**
|
||||||
|
- * Returns a copy the enchantments in this ItemMeta. <br>
|
||||||
|
+ * Returns a copy the enchantments in this ItemMeta. <br>
|
||||||
|
* Returns an empty map if none.
|
||||||
|
*
|
||||||
|
* @return An immutable copy of the enchantments
|
||||||
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
|
@@ -0,0 +0,0 @@ public interface ItemMeta extends Cloneable, ConfigurationSerializable {
|
||||||
|
|
||||||
Spigot spigot();
|
Spigot spigot();
|
||||||
|
@ -271,7 +296,7 @@ index 2278d470..13a153c8 100644
|
||||||
+ /**
|
+ /**
|
||||||
+ * Sets the collection of namespaced keys that the item can destroy in {@link org.bukkit.GameMode#ADVENTURE}
|
+ * Sets the collection of namespaced keys that the item can destroy in {@link org.bukkit.GameMode#ADVENTURE}
|
||||||
+ *
|
+ *
|
||||||
+ * @param canDestroy Set of {@link com.destroystokyo.paper.Namespaced}
|
+ * @param canDestroy Collection of {@link com.destroystokyo.paper.Namespaced}
|
||||||
+ */
|
+ */
|
||||||
+ void setDestroyableKeys(Collection<com.destroystokyo.paper.Namespaced> canDestroy);
|
+ void setDestroyableKeys(Collection<com.destroystokyo.paper.Namespaced> canDestroy);
|
||||||
+
|
+
|
||||||
|
@ -285,7 +310,7 @@ index 2278d470..13a153c8 100644
|
||||||
+ /**
|
+ /**
|
||||||
+ * Sets the set of namespaced keys that the item can be placed on in {@link org.bukkit.GameMode#ADVENTURE}
|
+ * Sets the set of namespaced keys that the item can be placed on in {@link org.bukkit.GameMode#ADVENTURE}
|
||||||
+ *
|
+ *
|
||||||
+ * @param canPlaceOn Set of {@link Collection<com.destroystokyo.paper.Namespaced>}
|
+ * @param canPlaceOn Collection of {@link com.destroystokyo.paper.Namespaced}
|
||||||
+ */
|
+ */
|
||||||
+ void setPlaceableKeys(Collection<com.destroystokyo.paper.Namespaced> canPlaceOn);
|
+ void setPlaceableKeys(Collection<com.destroystokyo.paper.Namespaced> canPlaceOn);
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue