Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,11 +18,13 @@
package appeng.helpers;
import net.minecraft.world.IBlockAccess;
import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.util.IOrientable;
public class LocationRotation implements IOrientable
{
@@ -31,7 +33,8 @@ public class LocationRotation implements IOrientable
final int y;
final int z;
public LocationRotation(IBlockAccess world, int x, int y, int z) {
public LocationRotation( IBlockAccess world, int x, int y, int z )
{
this.w = world;
this.x = x;
this.y = y;
@@ -39,9 +42,17 @@ public class LocationRotation implements IOrientable
}
@Override
public void setOrientation(ForgeDirection Forward, ForgeDirection Up)
public boolean canBeRotated()
{
return false;
}
@Override
public ForgeDirection getForward()
{
if( this.getUp().offsetY == 0 )
return ForgeDirection.UP;
return ForgeDirection.SOUTH;
}
@Override
@@ -52,16 +63,8 @@ public class LocationRotation implements IOrientable
}
@Override
public ForgeDirection getForward()
public void setOrientation( ForgeDirection Forward, ForgeDirection Up )
{
if ( this.getUp().offsetY == 0 )
return ForgeDirection.UP;
return ForgeDirection.SOUTH;
}
@Override
public boolean canBeRotated()
{
return false;
}
}