Improved readability of variables
Hopefully improved semantics of variables Fixed typos Added hyphenations
This commit is contained in:
@@ -121,28 +121,28 @@ final public class EntityGrowingCrystal extends EntityItem
|
||||
|
||||
int qty = 0;
|
||||
|
||||
if ( isAccel( x + 1, y, z ) )
|
||||
if ( isAccelerated( x + 1, y, z ) )
|
||||
qty += per + qty * mul;
|
||||
|
||||
if ( isAccel( x, y + 1, z ) )
|
||||
if ( isAccelerated( x, y + 1, z ) )
|
||||
qty += per + qty * mul;
|
||||
|
||||
if ( isAccel( x, y, z + 1 ) )
|
||||
if ( isAccelerated( x, y, z + 1 ) )
|
||||
qty += per + qty * mul;
|
||||
|
||||
if ( isAccel( x - 1, y, z ) )
|
||||
if ( isAccelerated( x - 1, y, z ) )
|
||||
qty += per + qty * mul;
|
||||
|
||||
if ( isAccel( x, y - 1, z ) )
|
||||
if ( isAccelerated( x, y - 1, z ) )
|
||||
qty += per + qty * mul;
|
||||
|
||||
if ( isAccel( x, y, z - 1 ) )
|
||||
if ( isAccelerated( x, y, z - 1 ) )
|
||||
qty += per + qty * mul;
|
||||
|
||||
return qty;
|
||||
}
|
||||
|
||||
private boolean isAccel(int x, int y, int z)
|
||||
private boolean isAccelerated(int x, int y, int z)
|
||||
{
|
||||
TileEntity te = worldObj.getTileEntity( x, y, z );
|
||||
if ( te instanceof ICrystalGrowthAccelerator )
|
||||
|
||||
Reference in New Issue
Block a user