@@ -11,9 +11,9 @@
|
||||
public abstract class ContainerFurnace extends ContainerRecipeBook<IInventory> {
|
||||
|
||||
private final IInventory furnace;
|
||||
@@ -7,6 +12,22 @@
|
||||
protected final World c;
|
||||
@@ -8,6 +13,22 @@
|
||||
private final Recipes<? extends RecipeCooking> f;
|
||||
private final RecipeBookType g;
|
||||
|
||||
+ // CraftBukkit start
|
||||
+ private CraftInventoryView bukkitEntity = null;
|
||||
@@ -31,10 +31,10 @@
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
protected ContainerFurnace(Containers<?> containers, Recipes<? extends RecipeCooking> recipes, int i, PlayerInventory playerinventory) {
|
||||
this(containers, recipes, i, playerinventory, new InventorySubcontainer(3), new ContainerProperties(4));
|
||||
protected ContainerFurnace(Containers<?> containers, Recipes<? extends RecipeCooking> recipes, RecipeBookType recipebooktype, int i, PlayerInventory playerinventory) {
|
||||
this(containers, recipes, recipebooktype, i, playerinventory, new InventorySubcontainer(3), new ContainerProperties(4));
|
||||
}
|
||||
@@ -22,6 +43,7 @@
|
||||
@@ -24,6 +45,7 @@
|
||||
this.a(new Slot(iinventory, 0, 56, 17));
|
||||
this.a((Slot) (new SlotFurnaceFuel(this, iinventory, 1, 56, 53)));
|
||||
this.a((Slot) (new SlotFurnaceResult(playerinventory.player, iinventory, 2, 116, 35)));
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
int j;
|
||||
|
||||
@@ -53,7 +75,7 @@
|
||||
@@ -55,7 +77,7 @@
|
||||
|
||||
@Override
|
||||
public void a(boolean flag, IRecipe<?> irecipe, EntityPlayer entityplayer) {
|
||||
@@ -51,7 +51,7 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -78,6 +100,7 @@
|
||||
@@ -80,6 +102,7 @@
|
||||
|
||||
@Override
|
||||
public boolean canUse(EntityHuman entityhuman) {
|
||||
@@ -59,7 +59,7 @@
|
||||
return this.furnace.a(entityhuman);
|
||||
}
|
||||
|
||||
@@ -133,7 +156,7 @@
|
||||
@@ -135,7 +158,7 @@
|
||||
}
|
||||
|
||||
protected boolean a(ItemStack itemstack) {
|
||||
|
||||
Reference in New Issue
Block a user