Begin the Great Refactor of Mid-2017
This commit is contained in:
parent
a4a4042eb1
commit
1fa9f1cf52
97 changed files with 328 additions and 1713 deletions
|
@ -86,11 +86,11 @@ public class GuiHandler implements IGuiHandler {
|
|||
case BATBOX:
|
||||
return new GuiBatbox(player, (TileBatBox) tile);
|
||||
case BLAST_FURNACE:
|
||||
return new GuiBlastFurnace(player, (TileBlastFurnace) tile);
|
||||
return new GuiBlastFurnace(player, (TileIndustrialBlastFurnace) tile);
|
||||
case CENTRIFUGE:
|
||||
return new GuiCentrifuge(player, (TileCentrifuge) tile);
|
||||
return new GuiCentrifuge(player, (TileIndustrialCentrifuge) tile);
|
||||
case CHARGEBENCH:
|
||||
return new GuiChargeBench(player, (TileChargeBench) tile);
|
||||
return new GuiChargeBench(player, (TileChargeOMat) tile);
|
||||
case CHEMICAL_REACTOR:
|
||||
return new GuiChemicalReactor(player, (TileChemicalReactor) tile);
|
||||
case CHUNK_LOADER:
|
||||
|
|
|
@ -37,16 +37,16 @@ import reborncore.common.misc.Location;
|
|||
import techreborn.client.gui.widget.GuiButtonHologram;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.proxies.ClientProxy;
|
||||
import techreborn.tiles.multiblock.TileBlastFurnace;
|
||||
import techreborn.tiles.multiblock.TileIndustrialBlastFurnace;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
public class GuiBlastFurnace extends GuiBase {
|
||||
|
||||
public TileBlastFurnace tile;
|
||||
public TileIndustrialBlastFurnace tile;
|
||||
boolean hasMultiBlock;
|
||||
|
||||
public GuiBlastFurnace(final EntityPlayer player, final TileBlastFurnace tile) {
|
||||
public GuiBlastFurnace(final EntityPlayer player, final TileIndustrialBlastFurnace tile) {
|
||||
super(player, tile, tile.createContainer(player));
|
||||
this.tile = tile;
|
||||
}
|
||||
|
|
|
@ -25,13 +25,13 @@
|
|||
package techreborn.client.gui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import techreborn.tiles.TileCentrifuge;
|
||||
import techreborn.tiles.TileIndustrialCentrifuge;
|
||||
|
||||
public class GuiCentrifuge extends GuiBase {
|
||||
|
||||
TileCentrifuge tile;
|
||||
TileIndustrialCentrifuge tile;
|
||||
|
||||
public GuiCentrifuge(final EntityPlayer player, final TileCentrifuge tile) {
|
||||
public GuiCentrifuge(final EntityPlayer player, final TileIndustrialCentrifuge tile) {
|
||||
super(player, tile, tile.createContainer(player));
|
||||
this.tile = tile;
|
||||
}
|
||||
|
|
|
@ -25,13 +25,13 @@
|
|||
package techreborn.client.gui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import techreborn.tiles.TileChargeBench;
|
||||
import techreborn.tiles.TileChargeOMat;
|
||||
|
||||
public class GuiChargeBench extends GuiBase {
|
||||
|
||||
TileChargeBench tile;
|
||||
TileChargeOMat tile;
|
||||
|
||||
public GuiChargeBench(final EntityPlayer player, final TileChargeBench tile) {
|
||||
public GuiChargeBench(final EntityPlayer player, final TileChargeOMat tile) {
|
||||
super(player, tile, tile.createContainer(player));
|
||||
this.tile = tile;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue