Add JEI transfer support for ContainerBuilder + Convert Compressor, Extractor and Grinder

This commit is contained in:
Ourten 2017-01-08 02:04:02 +01:00
parent 1df2c84e16
commit 94a0616d8e
28 changed files with 401 additions and 433 deletions

View file

@ -18,8 +18,10 @@ public class GuiGasTurbine extends GuiContainer {
TileGasTurbine tile;
public GuiGasTurbine(final EntityPlayer player, final TileGasTurbine tile) {
super(new ContainerBuilder().player(player.inventory).inventory(8, 84).hotbar(8, 142).addInventory().tile(tile)
.slot(0, 80, 17).outputSlot(1, 80, 53).fakeSlot(2, 59, 42).syncEnergyValue().addInventory().create());
super(new ContainerBuilder("fluidgenerator").player(player.inventory).inventory(8, 84).hotbar(8, 142)
.addInventory()
.tile(tile).slot(0, 80, 17).outputSlot(1, 80, 53).fakeSlot(2, 59, 42).syncEnergyValue().addInventory()
.create());
this.xSize = 176;
this.ySize = 167;
this.tile = tile;