summaryrefslogtreecommitdiffstats
path: root/nms-patches/TileEntityFurnace.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/TileEntityFurnace.patch')
-rw-r--r--nms-patches/TileEntityFurnace.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/TileEntityFurnace.patch b/nms-patches/TileEntityFurnace.patch
index bb7892c8..f23a4027 100644
--- a/nms-patches/TileEntityFurnace.patch
+++ b/nms-patches/TileEntityFurnace.patch
@@ -1,6 +1,6 @@
--- a/net/minecraft/server/TileEntityFurnace.java
+++ b/net/minecraft/server/TileEntityFurnace.java
-@@ -9,6 +9,15 @@
+@@ -8,6 +8,15 @@
import java.util.Map;
import java.util.Map.Entry;
import javax.annotation.Nullable;
@@ -16,7 +16,7 @@
public class TileEntityFurnace extends TileEntityContainer implements IWorldInventory, RecipeHolder, AutoRecipeOutput, ITickable {
-@@ -93,6 +102,31 @@
+@@ -92,6 +101,31 @@
return linkedhashmap;
}
@@ -48,7 +48,7 @@
public TileEntityFurnace() {
super(TileEntityTypes.FURNACE);
this.items = NonNullList.a(3, ItemStack.a);
-@@ -220,7 +254,7 @@
+@@ -219,7 +253,7 @@
}
public void Y_() {
@@ -57,7 +57,7 @@
boolean flag1 = false;
if (this.isBurning()) {
-@@ -238,9 +272,20 @@
+@@ -237,9 +271,20 @@
IRecipe irecipe = this.world.E().b(this, this.world);
if (!this.isBurning() && this.canBurn(irecipe)) {
@@ -80,7 +80,7 @@
flag1 = true;
if (!itemstack.isEmpty()) {
Item item = itemstack.getItem();
-@@ -271,6 +316,7 @@
+@@ -270,6 +315,7 @@
if (flag != this.isBurning()) {
flag1 = true;
this.world.setTypeAndData(this.position, (IBlockData) this.world.getType(this.position).set(BlockFurnace.LIT, Boolean.valueOf(this.isBurning())), 3);
@@ -88,7 +88,7 @@
}
}
-@@ -281,7 +327,7 @@
+@@ -280,7 +326,7 @@
}
private int s() {
@@ -97,7 +97,7 @@
return furnacerecipe != null ? furnacerecipe.h() : 200;
}
-@@ -308,11 +354,38 @@
+@@ -307,11 +353,38 @@
ItemStack itemstack1 = irecipe.d();
ItemStack itemstack2 = (ItemStack) this.items.get(2);