Update to Minecraft 1.12-pre6
By: md_5 <git@md-5.net>
This commit is contained in:
parent
f69eb04edc
commit
ea6ca4328a
35 changed files with 297 additions and 260 deletions
|
@ -4,17 +4,17 @@
|
|||
import com.google.common.collect.Lists;
|
||||
import java.util.ArrayList;
|
||||
|
||||
-public class RecipeFireworks extends IRecipe {
|
||||
+public class RecipeFireworks extends ShapelessRecipes { // CraftBukkit
|
||||
-public class RecipeFireworks implements IRecipe {
|
||||
+public class RecipeFireworks extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
||||
|
||||
private ItemStack b;
|
||||
private ItemStack a;
|
||||
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipeFireworks() {
|
||||
+ super("", new ItemStack(Items.FIREWORKS, 0, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.GUNPOWDER)));
|
||||
this.b = ItemStack.a;
|
||||
this.a = ItemStack.a;
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
||||
this.b = ItemStack.a;
|
||||
this.a = ItemStack.a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue