geforkt von Mirrors/Paper
Remove javadoc that doesn't apply to Paper (#9206)
Dieser Commit ist enthalten in:
Ursprung
8fcf7cfd2d
Commit
b7479c89c3
@ -8,6 +8,19 @@ Allows using ExactChoice Recipes with easier methods
|
|||||||
Redirects some of upstream's APIs to these new methods to avoid
|
Redirects some of upstream's APIs to these new methods to avoid
|
||||||
usage of magic values and the deprecated RecipeChoice#getItemStack
|
usage of magic values and the deprecated RecipeChoice#getItemStack
|
||||||
|
|
||||||
|
diff --git a/src/main/java/org/bukkit/inventory/RecipeChoice.java b/src/main/java/org/bukkit/inventory/RecipeChoice.java
|
||||||
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
|
--- a/src/main/java/org/bukkit/inventory/RecipeChoice.java
|
||||||
|
+++ b/src/main/java/org/bukkit/inventory/RecipeChoice.java
|
||||||
|
@@ -0,0 +0,0 @@ public interface RecipeChoice extends Predicate<ItemStack>, Cloneable {
|
||||||
|
/**
|
||||||
|
* Represents a choice that will be valid only one of the stacks is exactly
|
||||||
|
* matched (aside from stack size).
|
||||||
|
- * <br>
|
||||||
|
- * <b>Only valid for shaped recipes</b>
|
||||||
|
*/
|
||||||
|
public static class ExactChoice implements RecipeChoice {
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/inventory/ShapedRecipe.java b/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
diff --git a/src/main/java/org/bukkit/inventory/ShapedRecipe.java b/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
--- a/src/main/java/org/bukkit/inventory/ShapedRecipe.java
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren