mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Update to Minecraft 1.13-pre7
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
--- a/net/minecraft/server/ContainerFurnace.java
|
||||
+++ b/net/minecraft/server/ContainerFurnace.java
|
||||
@@ -1,5 +1,10 @@
|
||||
@@ -1,6 +1,10 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import java.util.Iterator;
|
||||
+// CraftBukkit start
|
||||
+import org.bukkit.craftbukkit.inventory.CraftInventoryFurnace;
|
||||
+import org.bukkit.craftbukkit.inventory.CraftInventoryView;
|
||||
+// CraftBukkit end
|
||||
+
|
||||
public class ContainerFurnace extends Container {
|
||||
|
||||
private final IInventory furnace;
|
||||
@@ -8,11 +13,28 @@
|
||||
private int h;
|
||||
public class ContainerFurnace extends ContainerRecipeBook {
|
||||
|
||||
@@ -11,12 +15,29 @@
|
||||
private int i;
|
||||
private int j;
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ private CraftInventoryView bukkitEntity = null;
|
||||
@@ -33,6 +33,7 @@
|
||||
+
|
||||
public ContainerFurnace(PlayerInventory playerinventory, IInventory iinventory) {
|
||||
this.furnace = iinventory;
|
||||
this.f = playerinventory.player.world;
|
||||
this.a(new Slot(iinventory, 0, 56, 17));
|
||||
this.a((Slot) (new SlotFurnaceFuel(iinventory, 1, 56, 53)));
|
||||
this.a((Slot) (new SlotFurnaceResult(playerinventory.player, iinventory, 2, 116, 35)));
|
||||
@@ -40,7 +41,7 @@
|
||||
|
||||
int i;
|
||||
|
||||
@@ -63,6 +85,7 @@
|
||||
@@ -95,6 +116,7 @@
|
||||
}
|
||||
|
||||
public boolean canUse(EntityHuman entityhuman) {
|
||||
|
Reference in New Issue
Block a user