Fix non fuels going in the fuel slot.
This commit is contained in:
parent
5216082445
commit
f9ea484159
2 changed files with 5 additions and 3 deletions
|
@ -3,6 +3,7 @@ package techreborn.client.container;
|
|||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.ICrafting;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.inventory.SlotFurnaceFuel;
|
||||
import reborncore.client.gui.SlotOutput;
|
||||
import reborncore.common.container.RebornContainer;
|
||||
import techreborn.tiles.TileAlloyFurnace;
|
||||
|
@ -27,7 +28,7 @@ public class ContainerAlloyFurnace extends RebornContainer
|
|||
// outputs
|
||||
this.addSlotToContainer(new SlotOutput(tileAlloyfurnace.inventory, 2, 116, 35));
|
||||
// Fuel
|
||||
this.addSlotToContainer(new Slot(tileAlloyfurnace.inventory, 3, 56, 53));
|
||||
this.addSlotToContainer(new SlotFurnaceFuel(tileAlloyfurnace.inventory, 3, 56, 53));
|
||||
|
||||
int i;
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ import net.minecraft.inventory.Slot;
|
|||
import net.minecraft.inventory.SlotFurnaceFuel;
|
||||
import net.minecraftforge.fml.relauncher.Side;
|
||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||
import reborncore.client.gui.SlotCharge;
|
||||
import reborncore.common.container.RebornContainer;
|
||||
import techreborn.tiles.generator.TileGenerator;
|
||||
|
||||
|
@ -26,9 +27,9 @@ public class ContainerGenerator extends RebornContainer
|
|||
this.player = player;
|
||||
|
||||
// fuel
|
||||
this.addSlotToContainer(new Slot(tile.inventory, 0, 80, 53));
|
||||
this.addSlotToContainer(new SlotFurnaceFuel(tile.inventory, 0, 80, 53));
|
||||
// charge
|
||||
this.addSlotToContainer(new SlotFurnaceFuel(tile.inventory, 1, 80, 17));
|
||||
this.addSlotToContainer(new SlotCharge(tile.inventory, 1, 80, 17));
|
||||
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in a new issue