Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 21:40:06 +01:00
23 Zeilen
1.0 KiB
Diff
23 Zeilen
1.0 KiB
Diff
--- a/net/minecraft/server/RecipeTippedArrow.java
|
|
+++ b/net/minecraft/server/RecipeTippedArrow.java
|
|
@@ -2,11 +2,17 @@
|
|
|
|
import java.util.Collection;
|
|
|
|
-public class RecipeTippedArrow extends IRecipeComplex {
|
|
+public class RecipeTippedArrow extends ShapedRecipes { // CraftBukkit
|
|
|
|
+ // CraftBukkit start
|
|
public RecipeTippedArrow(MinecraftKey minecraftkey) {
|
|
- super(minecraftkey);
|
|
+ super(minecraftkey, "", 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));
|
|
}
|
|
+ // CraftBukkit end
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
if (inventorycrafting.g() == 3 && inventorycrafting.f() == 3) {
|