@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/server/TileEntityFurnace.java
|
||||
+++ b/net/minecraft/server/TileEntityFurnace.java
|
||||
@@ -8,6 +8,15 @@
|
||||
@@ -7,6 +7,15 @@
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import javax.annotation.Nullable;
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
public class TileEntityFurnace extends TileEntityContainer implements IWorldInventory, RecipeHolder, AutoRecipeOutput, ITickable {
|
||||
|
||||
@@ -92,6 +101,31 @@
|
||||
return linkedhashmap;
|
||||
@@ -91,6 +100,31 @@
|
||||
return map;
|
||||
}
|
||||
|
||||
+ // CraftBukkit start - add fields and methods
|
||||
@@ -48,7 +48,7 @@
|
||||
public TileEntityFurnace() {
|
||||
super(TileEntityTypes.FURNACE);
|
||||
this.items = NonNullList.a(3, ItemStack.a);
|
||||
@@ -237,9 +271,20 @@
|
||||
@@ -236,9 +270,20 @@
|
||||
IRecipe irecipe = this.world.getCraftingManager().b(this, this.world);
|
||||
|
||||
if (!this.isBurning() && this.canBurn(irecipe)) {
|
||||
@@ -71,7 +71,7 @@
|
||||
flag1 = true;
|
||||
if (!itemstack.isEmpty()) {
|
||||
Item item = itemstack.getItem();
|
||||
@@ -280,7 +325,7 @@
|
||||
@@ -279,7 +324,7 @@
|
||||
}
|
||||
|
||||
private int s() {
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
return furnacerecipe != null ? furnacerecipe.h() : 200;
|
||||
}
|
||||
@@ -307,11 +352,38 @@
|
||||
@@ -306,11 +351,38 @@
|
||||
ItemStack itemstack1 = irecipe.d();
|
||||
ItemStack itemstack2 = (ItemStack) this.items.get(2);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user