Archiviert
13
0
Dieses Repository wurde am 2024-12-25 archiviert. Du kannst Dateien ansehen und es klonen, aber nicht pushen oder Issues/Pull-Requests öffnen.
Paper-Old/nms-patches/RecipeTippedArrow.patch

23 Zeilen
1.0 KiB
Diff

2016-02-29 22:32:46 +01:00
--- a/net/minecraft/server/RecipeTippedArrow.java
+++ b/net/minecraft/server/RecipeTippedArrow.java
2016-11-17 02:41:03 +01:00
@@ -2,9 +2,17 @@
2016-02-29 22:32:46 +01:00
2016-11-17 02:41:03 +01:00
import java.util.Collection;
2016-02-29 22:32:46 +01:00
2017-05-30 13:25:59 +02:00
-public class RecipeTippedArrow implements IRecipe {
+public class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit
2016-02-29 22:32:46 +01:00
2016-11-17 02:41:03 +01:00
- public RecipeTippedArrow() {}
+ // CraftBukkit start
2016-11-17 02:41:03 +01:00
+ public RecipeTippedArrow() {
2017-05-14 04:00:00 +02:00
+ super("", 3, 3, NonNullList.a(RecipeItemStack.a,
+ RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW),
+ RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.LINGERING_POTION), RecipeItemStack.a(Items.ARROW),
+ RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW)),
+ new ItemStack(Items.TIPPED_ARROW, 8));
2016-02-29 22:32:46 +01:00
+ }
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
2016-11-17 02:41:03 +01:00
if (inventorycrafting.j() == 3 && inventorycrafting.i() == 3) {