2016-02-29 22:32:46 +01:00
|
|
|
--- a/net/minecraft/server/RecipeTippedArrow.java
|
|
|
|
+++ b/net/minecraft/server/RecipeTippedArrow.java
|
2018-07-15 02:00:00 +02:00
|
|
|
@@ -2,11 +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
|
|
|
|
2018-07-15 02:00:00 +02:00
|
|
|
-public class RecipeTippedArrow extends IRecipeComplex {
|
2019-04-23 04:00:00 +02:00
|
|
|
+public class RecipeTippedArrow extends ShapedRecipes { // CraftBukkit
|
2016-02-29 22:32:46 +01:00
|
|
|
|
2016-03-03 06:35:51 +01:00
|
|
|
+ // CraftBukkit start
|
2018-07-15 02:00:00 +02:00
|
|
|
public RecipeTippedArrow(MinecraftKey minecraftkey) {
|
|
|
|
- super(minecraftkey);
|
|
|
|
+ super(minecraftkey, "", 3, 3, NonNullList.a(RecipeItemStack.a,
|
2017-05-14 04:00:00 +02:00
|
|
|
+ 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));
|
2018-07-15 02:00:00 +02:00
|
|
|
}
|
2016-02-29 22:32:46 +01:00
|
|
|
+ // CraftBukkit end
|
|
|
|
|
2019-04-23 04:00:00 +02:00
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
|
|
if (inventorycrafting.g() == 3 && inventorycrafting.f() == 3) {
|