Improve code readability in binnie.extratrees package

This commit is contained in:
kordum authored and mezz committed 2017-05-03 14:10:02 -07:00
1 parent adccdd181a
commit 96e4814ae3
225 files changed
+8968 -9306

No files matched your search

@@ -8,7 +8,7 @@ import binnie.core.craftgui.minecraft.control.ControlMachineProgress;
// TODO unused class?
public class ControlProcessTemporary extends ControlMachineProgress {
public ControlProcessTemporary(final IWidget parent, final int x, final int y, final int width, final int height) {
public ControlProcessTemporary(IWidget parent, int x, int y, int width, int height) {
super(parent, x, y, null, null, null);
setSize(new IPoint(width, height));
}
@@ -16,7 +16,7 @@ public class ControlProcessTemporary extends ControlMachineProgress {
@Override
public void onRenderBackground() {
CraftGUI.Render.solid(getArea(), -4868683);
final float w = getSize().y() * progress / 100.0f;
float w = getSize().y() * progress / 100.0f;
CraftGUI.Render.solid(new IArea(getArea().x(), getArea().y(), w, getArea().h()), -65536);
}
}
@@ -9,7 +9,7 @@ import net.minecraft.inventory.IInventory;
// TODO unused class?
public class WindowGeneProject extends Window {
public WindowGeneProject(final EntityPlayer player, final IInventory inventory, final Side side) {
public WindowGeneProject(EntityPlayer player, IInventory inventory, Side side) {
super(100.0f, 100.0f, player, inventory, side);
}
@@ -59,7 +59,7 @@ public enum GeneticLiquid implements IFluidType {
}
@Override
public int getContainerColour() {
public int getContainerColor() {
return color;
}
@@ -150,7 +150,7 @@ public class Inoculator {
transfer.addStorage(9, Inoculator.slotFinished, new ComponentInventoryTransfer.Condition() {
@Override
public boolean fufilled(final ItemStack stack) {
public boolean fufilled(ItemStack stack) {
return stack != null
&& transfer.getMachine().getMachineUtil().getStack(0) != null
&& transfer.getMachine().getInterface(ComponentInoculatorLogic.class).isValidSerum() != null;