This commit is contained in:
Nedelosk committed 2016-10-28 02:20:36 +02:00
1 parent 84d8ad9144
commit 154207f60f
77 files changed
+2116 -1987

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.PackagePolymeriser;
import binnie.genetics.machine.polymeriser.Polymeriser;
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(PackagePolymeriser.SLOT_SERUM_RESERVE);
new ControlSlotArray(this, x, y, 1, 4).create(Polymeriser.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(PackagePolymeriser.SLOT_SERUM_FINISHED);
new ControlSlotArray(this, x, y + 9, 2, 2).create(Polymeriser.SLOT_SERUM_FINISHED);
final ControlErrorState errorState = new ControlErrorState(this, 244.0f, 97.0f);
new ControlPlayerInventory(this);
}
@Override
public String getTitle() {
return Genetics.proxy.localise("machine.machine.polymeriser.tile");
return Genetics.proxy.localise("machine.machine.polymeriser");
}
@Override
@@ -67,7 +67,7 @@ public class WindowPolymeriser extends WindowMachine {
}
@Override
protected String getName() {
protected String getBackgroundTextureName() {
return "Polymeriser";
}