mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 08:00:02 +03:00
17 lines
631 B
Diff
17 lines
631 B
Diff
--- ../src-base/minecraft/net/minecraft/item/crafting/RecipeFireworks.java
|
|
+++ ../src-work/minecraft/net/minecraft/item/crafting/RecipeFireworks.java
|
|
@@ -11,8 +11,12 @@
|
|
import net.minecraft.nbt.NBTTagList;
|
|
import net.minecraft.world.World;
|
|
|
|
-public class RecipeFireworks implements IRecipe
|
|
+public class RecipeFireworks extends ShapelessRecipes implements IRecipe
|
|
{
|
|
+ public RecipeFireworks() {
|
|
+ super(new ItemStack(Items.FIREWORKS, 0, 0), java.util.Arrays.asList(new ItemStack(Items.GUNPOWDER, 0, 5)));
|
|
+ }
|
|
+
|
|
private ItemStack resultItem;
|
|
|
|
public boolean matches(InventoryCrafting inv, World worldIn)
|