From b7479c89c33e61a49d7eefbcd481b54e3a02f7be Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sun, 14 May 2023 16:20:43 -0700 Subject: [PATCH] Remove javadoc that doesn't apply to Paper (#9206) --- .../Add-ItemStack-Recipe-API-helper-methods.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/patches/api/Add-ItemStack-Recipe-API-helper-methods.patch b/patches/api/Add-ItemStack-Recipe-API-helper-methods.patch index ba4113dbd7..1148f8aeab 100644 --- a/patches/api/Add-ItemStack-Recipe-API-helper-methods.patch +++ b/patches/api/Add-ItemStack-Recipe-API-helper-methods.patch @@ -8,6 +8,19 @@ Allows using ExactChoice Recipes with easier methods Redirects some of upstream's APIs to these new methods to avoid 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, Cloneable { + /** + * Represents a choice that will be valid only one of the stacks is exactly + * matched (aside from stack size). +- *
+- * Only valid for shaped recipes + */ + 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 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/inventory/ShapedRecipe.java