run repo through formatter

This commit is contained in:
Progwml6 committed 2014-02-05 09:11:06 -05:00
1 parent 5585d680a3
commit ffaea7d4b7
140 files changed
+1050 -892

No files matched your search

@@ -436,13 +436,13 @@ public class CastingBasinLogic extends InventoryLogic implements IFluidTank, IFl
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -17,7 +17,7 @@ import tconstruct.TConstruct;
public class CastingChannelLogic extends TileEntity implements IFluidTank, IFluidHandler, IActiveLogic
{
public final static int fillMax = TConstruct.ingotLiquidValue*5;
public final static int fillMax = TConstruct.ingotLiquidValue * 5;
public final static int outputMax = TConstruct.ingotLiquidValue;
public FluidStack liquid;
public ForgeDirection lastProvider;
@@ -434,13 +434,13 @@ public class CastingTableLogic extends InventoryLogic implements IFluidTank, IFl
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -120,13 +120,13 @@ public class CraftingStationLogic extends InventoryLogic implements ISidedInvent
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -139,13 +139,13 @@ public class DryingRackLogic extends InventoryLogic
public void closeInventory ()
{
// TODO Auto-generated method stub
}
@Override
public void openInventory ()
{
// TODO Auto-generated method stub
}
}
@@ -703,32 +703,31 @@ public class SmelteryLogic extends InventoryLogic implements IActiveLogic, IFaci
Block eastBlock = worldObj.getBlock(x + 1, y, z);
Block westBlock = worldObj.getBlock(x - 1, y, z);
if ((northBlock == null || northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air)
&& (eastBlock == null || eastBlock == Blocks.air) && (westBlock == null || westBlock == Blocks.air))
if ((northBlock == null || northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air) && (eastBlock == null || eastBlock == Blocks.air)
&& (westBlock == null || westBlock == Blocks.air))
{
checkValidStructure(x, y, z);
}
else if ((northBlock != null && !(northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air)
&& (eastBlock == null || eastBlock == Blocks.air) && (westBlock == null || westBlock == Blocks.air)))
else if ((northBlock != null && !(northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air) && (eastBlock == null || eastBlock == Blocks.air) && (westBlock == null || westBlock == Blocks.air)))
{
checkValidStructure(x, y, z - 1);
}
else if ((northBlock == null || northBlock == Blocks.air) && (southBlock != null && !(southBlock == Blocks.air))
&& (eastBlock == null || eastBlock == Blocks.air) && (westBlock == null || westBlock == Blocks.air))
else if ((northBlock == null || northBlock == Blocks.air) && (southBlock != null && !(southBlock == Blocks.air)) && (eastBlock == null || eastBlock == Blocks.air)
&& (westBlock == null || westBlock == Blocks.air))
{
checkValidStructure(x, y, z + 1);
}
else if ((northBlock == null || northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air)
&& (eastBlock != null && !(eastBlock == Blocks.air)) && (westBlock == null || westBlock == Blocks.air))
else if ((northBlock == null || northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air) && (eastBlock != null && !(eastBlock == Blocks.air))
&& (westBlock == null || westBlock == Blocks.air))
{
checkValidStructure(x - 1, y, z);
}
else if ((northBlock == null || northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air)
&& (eastBlock == null || eastBlock == Blocks.air) && (westBlock != null && !(westBlock == Blocks.air)))
else if ((northBlock == null || northBlock == Blocks.air) && (southBlock == null || southBlock == Blocks.air) && (eastBlock == null || eastBlock == Blocks.air)
&& (westBlock != null && !(westBlock == Blocks.air)))
{
checkValidStructure(x + 1, y, z);
}
@@ -131,7 +131,7 @@ public class TankAirLogic extends InventoryLogic implements IServantLogic, ISide
//DELETE
public void updateEntity ()
{
WorldHelper.setBlockToAir(worldObj,xCoord, yCoord, zCoord);
WorldHelper.setBlockToAir(worldObj, xCoord, yCoord, zCoord);
}
//Keep TE regardless of metadata
@@ -200,13 +200,12 @@ public class TankAirLogic extends InventoryLogic implements IServantLogic, ISide
@Override
public void closeInventory ()
{
{
}
@Override
public void openInventory ()
{
{
}
}
@@ -69,7 +69,7 @@ public class TileEntityLandmine extends TileEntity implements IInventory
public void readFromNBT (NBTTagCompound par1NBTTagCompound)
{
super.readFromNBT(par1NBTTagCompound);
NBTTagList nbttaglist = par1NBTTagCompound.getTagList("Items",9);
NBTTagList nbttaglist = par1NBTTagCompound.getTagList("Items", 9);
this.inventory = new ItemStack[this.getSizeInventory()];
for (int i = 0; i < nbttaglist.tagCount(); ++i)
@@ -263,5 +263,4 @@ public class TileEntityLandmine extends TileEntity implements IInventory
}
}
}
@@ -124,11 +124,11 @@ public class ToolStationLogic extends InventoryLogic implements ISidedInventory
@Override
public void closeInventory ()
{
{
}
@Override
public void openInventory ()
{
{
}
}