Added Armbot recipe
This commit is contained in:
parent
10312d6110
commit
eb323c77ec
2 changed files with 11 additions and 7 deletions
|
@ -170,25 +170,26 @@ public class GuiEncoder extends GuiContainer implements IInventoryWatcher
|
|||
this.fontRenderer.drawString("^", 0, 0, 0xFFFFFF);
|
||||
glPopMatrix();
|
||||
|
||||
if (commands != null)
|
||||
if (this.commands != null)
|
||||
{
|
||||
drawCommands();
|
||||
this.drawCommands();
|
||||
}
|
||||
|
||||
commandField.drawTextBox();
|
||||
this.commandField.drawTextBox();
|
||||
}
|
||||
|
||||
private void drawCommands()
|
||||
{
|
||||
int relativeCommand;
|
||||
String command;
|
||||
|
||||
for (int i = minCommand; i < minCommand + MAX_COMMANDS; i++)
|
||||
{
|
||||
if (i >= 0 && i < this.commands.size())
|
||||
{
|
||||
relativeCommand = i - minCommand;
|
||||
command = this.commands.get(i).toUpperCase();
|
||||
drawCommand(command, 8, 56 + relativeCommand * (fontRenderer.FONT_HEIGHT + 4), this.selCommand == i);
|
||||
drawCommand(command, 8, 46 + relativeCommand * (fontRenderer.FONT_HEIGHT + 4), this.selCommand == i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,11 +127,14 @@ public class AssemblyLine
|
|||
|
||||
System.out.println(NAME + " Loaded: " + TranslationHelper.loadLanguages(LANGUAGE_PATH, LANGUAGES_SUPPORTED) + " languages.");
|
||||
|
||||
// Armbot
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(blockArmbot, new Object[] { "II ", " I ", "SCS", 'S', "plateSteel", 'C', "advancedCircuit", 'I', "ingotSteel" }));
|
||||
|
||||
// Disk
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(itemDisk, new Object[] { "III", "ICI", "III", 'I', Item.ingotIron, 'C', "advancedCircuit" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(itemDisk, new Object[] { "III", "ICI", "III", 'I', itemImprint, 'C', "advancedCircuit" }));
|
||||
|
||||
// Encoder
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(blockEncoder, new Object[] { "S S", "SCS", "SSS", 'S', "ingotSteel", 'C', "eliteCircuit" }));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(blockEncoder, new Object[] { "S S", "SCS", "SSS", 'S', "ingotSteel", 'C', "advancedCircuit" }));
|
||||
|
||||
// Imprint
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe(itemImprint, new Object[] { "R", "P", "I", 'P', Item.paper, 'R', Item.redstone, 'I', new ItemStack(Item.dyePowder, 1, 0) }));
|
||||
|
|
Loading…
Reference in a new issue