2016-03-01 08:32:46 +11:00
|
|
|
--- a/net/minecraft/server/RecipeTippedArrow.java
|
|
|
|
+++ b/net/minecraft/server/RecipeTippedArrow.java
|
2016-11-17 12:41:03 +11:00
|
|
|
@@ -2,9 +2,17 @@
|
2016-03-01 08:32:46 +11:00
|
|
|
|
2016-11-17 12:41:03 +11:00
|
|
|
import java.util.Collection;
|
2016-03-01 08:32:46 +11:00
|
|
|
|
2017-05-30 21:25:59 +10:00
|
|
|
-public class RecipeTippedArrow implements IRecipe {
|
|
|
|
+public class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit
|
2016-03-01 08:32:46 +11:00
|
|
|
|
2016-11-17 12:41:03 +11:00
|
|
|
- public RecipeTippedArrow() {}
|
2016-03-03 16:35:51 +11:00
|
|
|
+ // CraftBukkit start
|
2016-11-17 12:41:03 +11:00
|
|
|
+ public RecipeTippedArrow() {
|
2017-05-14 12:00:00 +10: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-03-01 08:32:46 +11:00
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
|
|
|
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
2016-11-17 12:41:03 +11:00
|
|
|
if (inventorycrafting.j() == 3 && inventorycrafting.i() == 3) {
|