Add this qualifier

This commit is contained in:
thatsIch
2015-09-30 14:26:54 +02:00
parent efecd4b8c1
commit ebda927fb5
105 changed files with 422 additions and 415 deletions
@@ -16,17 +16,17 @@ public class AEAxisAlignedBB
public AxisAlignedBB getBoundingBox()
{
return AxisAlignedBB.fromBounds( minX, minY, minZ, maxX, maxY, maxZ );
return AxisAlignedBB.fromBounds( this.minX, this.minY, this.minZ, this.maxX, this.maxY, this.maxZ );
}
public AEAxisAlignedBB( final double a, final double b, final double c, final double d, final double e, final double f)
{
minX=a;
minY=b;
minZ=c;
maxX=d;
maxY=e;
maxZ=f;
this.minX =a;
this.minY =b;
this.minZ =c;
this.maxX =d;
this.maxY =e;
this.maxZ =f;
}
public static AEAxisAlignedBB fromBounds(
@@ -53,9 +53,9 @@ public enum AEPartLocation
private AEPartLocation( final int x, final int y, final int z)
{
xOffset = x;
yOffset = y;
zOffset = z;
this.xOffset = x;
this.yOffset = y;
this.zOffset = z;
}
/**
@@ -86,7 +86,7 @@ public enum AEPartLocation
*/
public AEPartLocation getOpposite()
{
return fromOrdinal(OPPOSITES[ordinal()]);
return fromOrdinal(OPPOSITES[this.ordinal()]);
}
/**
@@ -94,7 +94,7 @@ public enum AEPartLocation
*/
public EnumFacing getFacing()
{
return facings[ordinal()];
return facings[this.ordinal()];
}
}
+4 -4
View File
@@ -54,9 +54,9 @@ public class WorldCoord
public WorldCoord(
final BlockPos pos )
{
x = pos.getX();
y = pos.getY();
z = pos.getZ();
this.x = pos.getX();
this.y = pos.getY();
this.z = pos.getZ();
}
public WorldCoord subtract( final AEPartLocation direction, final int length )
@@ -177,7 +177,7 @@ public class WorldCoord
public BlockPos getPos()
{
return new BlockPos(x,y,z);
return new BlockPos( this.x, this.y, this.z );
}
@Override