Update to Minecraft 1.13-pre7

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-07-15 10:00:00 +10:00
parent d1e91a8adb
commit 7e0a66fdd5
608 changed files with 17788 additions and 9378 deletions

View File

@@ -1,20 +1,17 @@
--- a/net/minecraft/server/RecipeShulkerBox.java
+++ b/net/minecraft/server/RecipeShulkerBox.java
@@ -1,8 +1,15 @@
@@ -1,10 +1,12 @@
package net.minecraft.server;
-public class RecipeShulkerBox { public static class Dye implements IRecipe {
+// CraftBukkit - decompile weirdness
+public class RecipeShulkerBox {
-public class RecipeShulkerBox extends IRecipeComplex {
+public class RecipeShulkerBox extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
- public Dye() {}
+ public static class Dye extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
+
+ // CraftBukkit start - Delegate to new parent class with bogus info
+ public Dye() {
+ super("", new ItemStack(Blocks.WHITE_SHULKER_BOX, 0, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.DYE)));
+ }
+ // CraftBukkit end
+ // CraftBukkit start - Delegate to new parent class with bogus info
public RecipeShulkerBox(MinecraftKey minecraftkey) {
- super(minecraftkey);
+ super(minecraftkey, "", new ItemStack(Blocks.WHITE_SHULKER_BOX, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BONE_MEAL)));
}
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
int i = 0;
public boolean a(IInventory iinventory, World world) {
if (!(iinventory instanceof InventoryCrafting)) {