mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-22 07:43:49 -07:00
@@ -9,9 +9,24 @@
|
||||
+import org.bukkit.craftbukkit.inventory.CraftShapedRecipe;
|
||||
+// CraftBukkit end
|
||||
|
||||
public class ShapedRecipes extends IRecipe {
|
||||
public class ShapedRecipes implements IRecipe {
|
||||
|
||||
@@ -30,6 +34,63 @@
|
||||
@@ -22,6 +26,14 @@
|
||||
private final NonNullList<RecipeItemStack> items;
|
||||
private final ItemStack result;
|
||||
private final String e;
|
||||
+ // CraftBukkit start
|
||||
+ public MinecraftKey key;
|
||||
+
|
||||
+ @Override
|
||||
+ public void setKey(MinecraftKey key) {
|
||||
+ this.key = key;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
public ShapedRecipes(String s, int i, int j, NonNullList<RecipeItemStack> nonnulllist, ItemStack itemstack) {
|
||||
this.e = s;
|
||||
@@ -31,6 +43,63 @@
|
||||
this.result = itemstack;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user