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-14 04:00:00 +02:00
|
|
|
-public class RecipeTippedArrow extends IRecipe {
|
|
|
|
+public class RecipeTippedArrow extends ShapedRecipes { // CraftBukkit
|
2016-02-29 22:32:46 +01:00
|
|
|
|
2016-11-17 02:41:03 +01:00
|
|
|
- public RecipeTippedArrow() {}
|
2016-03-03 06:35:51 +01:00
|
|
|
+ // 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) {
|