cleanup & formatting
This commit is contained in:
parent
d12fa0319c
commit
46acce1582
30 changed files with 39 additions and 40 deletions
|
@ -197,6 +197,7 @@ public abstract class TaskBase implements ITask
|
|||
return this.UV;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getToolTips(List<String> list)
|
||||
{
|
||||
list.add(this.getMethodName());
|
||||
|
|
|
@ -88,6 +88,4 @@ public class TaskBreak extends TaskBaseArmbot
|
|||
return nbt;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -218,8 +218,8 @@ public class GuiEditTask extends GuiBase implements IMessageBoxDialog
|
|||
protected void drawForegroundLayer(int var2, int var3, float var1)
|
||||
{
|
||||
this.fontRenderer.drawString("Edit Task", (int) (this.guiSize.intX() / 2 - 7 * 2.5), 5, 4210752);
|
||||
this.fontRenderer.drawString("Task: " + "\u00a77" + this.task.getMethodName(), (int) ((this.guiSize.intX() / 2) - 70), 20, 4210752);
|
||||
this.fontRenderer.drawString("----Task Arguments---- ", (int) ((this.guiSize.intX() / 2) - 70), 50, 4210752);
|
||||
this.fontRenderer.drawString("Task: " + "\u00a77" + this.task.getMethodName(), ((this.guiSize.intX() / 2) - 70), 20, 4210752);
|
||||
this.fontRenderer.drawString("----Task Arguments---- ", ((this.guiSize.intX() / 2) - 70), 50, 4210752);
|
||||
|
||||
int i = 0;
|
||||
if (task.getArgs() != null)
|
||||
|
@ -227,14 +227,14 @@ public class GuiEditTask extends GuiBase implements IMessageBoxDialog
|
|||
for (ArgumentData arg : task.getArgs())
|
||||
{
|
||||
i++;
|
||||
this.fontRenderer.drawString(arg.getName() + ":", (int) ((this.guiSize.intX() / 2) - 70), 45 + (i * this.ySpacing), 4210752);
|
||||
this.fontRenderer.drawString(arg.warning(), (int) ((this.guiSize.intX() / 2) + 11), 45 + (i * this.ySpacing), 4210752);
|
||||
this.fontRenderer.drawString(arg.getName() + ":", ((this.guiSize.intX() / 2) - 70), 45 + (i * this.ySpacing), 4210752);
|
||||
this.fontRenderer.drawString(arg.warning(), ((this.guiSize.intX() / 2) + 11), 45 + (i * this.ySpacing), 4210752);
|
||||
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.fontRenderer.drawString("\u00a77" + " No editable args ", (int) ((this.guiSize.intX() / 2) - 70), 70, 4210752);
|
||||
this.fontRenderer.drawString("\u00a77" + " No editable args ", ((this.guiSize.intX() / 2) - 70), 70, 4210752);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ public class GuiEncoderCoder extends GuiEncoderBase
|
|||
{
|
||||
this.helpMessage = "";
|
||||
}
|
||||
this.fontRenderer.drawString(this.helpMessage, (int) (this.xSize / 2 - 82), 150, 4210752);
|
||||
this.fontRenderer.drawString(this.helpMessage, (this.xSize / 2 - 82), 150, 4210752);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ public class BlockRejector extends BlockImprintable
|
|||
{
|
||||
super(new BlockBuildData(BlockRejector.class, "rejector", UniversalElectricity.machine));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getTileEntities(int blockID, Set<Pair<String, Class<? extends TileEntity>>> list)
|
||||
{
|
||||
|
|
|
@ -16,7 +16,6 @@ import dark.core.interfaces.IInvBox;
|
|||
import dark.core.network.PacketHandler;
|
||||
import dark.core.prefab.invgui.InvChest;
|
||||
import dark.core.prefab.machine.TileEntityEnergyMachine;
|
||||
import dark.core.prefab.machine.TileEntityMachine.SimplePacketTypes;
|
||||
|
||||
/** Basic A -> B recipe processor machine designed mainly to handle ore blocks
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue