All parameters on one line (for now)
Easier picking of 1.7 changes
This commit is contained in:
@@ -27,7 +27,11 @@ package appeng.api.config;
|
||||
public enum FuzzyMode
|
||||
{
|
||||
// Note that percentage damaged, is the inverse of percentage durability.
|
||||
IGNORE_ALL( -1 ), PERCENT_99( 0 ), PERCENT_75( 25 ), PERCENT_50( 50 ), PERCENT_25( 75 );
|
||||
IGNORE_ALL( -1 ),
|
||||
PERCENT_99( 0 ),
|
||||
PERCENT_75( 25 ),
|
||||
PERCENT_50( 50 ),
|
||||
PERCENT_25( 75 );
|
||||
|
||||
public final float breakPoint;
|
||||
public final float percentage;
|
||||
|
||||
@@ -54,14 +54,12 @@ public interface IMovableHandler
|
||||
* {
|
||||
* @code
|
||||
* Chunk c = world.getChunkFromBlockCoords( x, z );
|
||||
* c.setChunkBlockTileEntity( x
|
||||
* & 0xF, y + y, z & 0xF, tile );
|
||||
* c.setChunkBlockTileEntity( x & 0xF, y + y, z & 0xF, tile );
|
||||
*
|
||||
* if( c.isChunkLoaded )
|
||||
* {
|
||||
* world.addTileEntity( tile );
|
||||
* world.markBlockForUpdate( x,
|
||||
* y, z );
|
||||
* world.markBlockForUpdate( x, y, z );
|
||||
* }
|
||||
* }
|
||||
* </pre>
|
||||
|
||||
@@ -32,25 +32,13 @@ public class AEAxisAlignedBB
|
||||
this.maxZ = f;
|
||||
}
|
||||
|
||||
public static AEAxisAlignedBB fromBounds(
|
||||
final double a,
|
||||
final double b,
|
||||
final double c,
|
||||
final double d,
|
||||
final double e,
|
||||
final double f )
|
||||
public static AEAxisAlignedBB fromBounds( final double a, final double b, final double c, final double d, final double e, final double f )
|
||||
{
|
||||
return new AEAxisAlignedBB( a, b, c, d, e, f );
|
||||
}
|
||||
|
||||
public static AEAxisAlignedBB fromBounds(
|
||||
final AxisAlignedBB bb )
|
||||
public static AEAxisAlignedBB fromBounds( final AxisAlignedBB bb )
|
||||
{
|
||||
return new AEAxisAlignedBB( bb.minX,
|
||||
bb.minY,
|
||||
bb.minZ,
|
||||
bb.maxX,
|
||||
bb.maxY,
|
||||
bb.maxZ );
|
||||
return new AEAxisAlignedBB( bb.minX, bb.minY, bb.minZ, bb.maxX, bb.maxY, bb.maxZ );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,8 +51,7 @@ public class WorldCoord
|
||||
this.z = _z;
|
||||
}
|
||||
|
||||
public WorldCoord(
|
||||
final BlockPos pos )
|
||||
public WorldCoord( final BlockPos pos )
|
||||
{
|
||||
this.x = pos.getX();
|
||||
this.y = pos.getY();
|
||||
|
||||
Reference in New Issue
Block a user