Start to clean up machines

This commit is contained in:
Nedelosk committed 2016-10-28 00:01:33 +02:00
1 parent 3bf37f8838
commit 6b7b6480c0
35 files changed
+605 -572

No files matched your search

@@ -17,7 +17,7 @@ import binnie.craftgui.resource.Texture;
import binnie.craftgui.resource.minecraft.StandardTexture;
import binnie.genetics.Genetics;
import binnie.genetics.core.GeneticsTexture;
import binnie.genetics.machine.Polymeriser;
import binnie.genetics.machine.polymeriser.PackagePolymeriser;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraftforge.fml.relauncher.Side;
@@ -39,7 +39,7 @@ public class WindowPolymeriser extends WindowMachine {
super.initialiseClient();
int x = 16;
final int y = 38;
new ControlSlotArray(this, x, y, 1, 4).create(Polymeriser.slotSerumReserve);
new ControlSlotArray(this, x, y, 1, 4).create(PackagePolymeriser.SLOT_SERUM_RESERVE);
new ControlIconDisplay(this, x + 18, y + 1, GUIIcon.ArrowRight.getIcon().getResourceLocation());
x += 34;
new ControlMachineProgress(this, x + 18, y - 6, WindowPolymeriser.ProgressBase, WindowPolymeriser.Progress, Position.Left);
@@ -51,14 +51,14 @@ public class WindowPolymeriser extends WindowMachine {
new ControlSlot(this, x + 30, y + 18 + 8).assign(1);
new ControlSlotCharge(this, x + 30 + 20, y + 18 + 8, 1).setColour(16766976);
x += 138;
new ControlSlotArray(this, x, y + 9, 2, 2).create(Polymeriser.slotSerumFinished);
new ControlSlotArray(this, x, y + 9, 2, 2).create(PackagePolymeriser.SLOT_SERUM_FINISHED);
final ControlErrorState errorState = new ControlErrorState(this, 244.0f, 97.0f);
new ControlPlayerInventory(this);
}
@Override
public String getTitle() {
return "Polymeriser";
return Genetics.proxy.localise("machine.machine.polymeriser.tile");
}
@Override