Merge pull request #1422 from thatsIch/e-constant-naming-convention

Replaces all constants regarding their naming conventions
This commit is contained in:
thatsIch
2015-05-08 23:45:44 +02:00
23 changed files with 70 additions and 70 deletions
@@ -191,7 +191,7 @@ public final class MeteoritePlacer
}
else
{
changed = this.putter.put( w, i, j, k, Platform.AIR ) || changed;
changed = this.putter.put( w, i, j, k, Platform.AIR_BLOCK ) || changed;
}
}
}
@@ -380,7 +380,7 @@ public final class MeteoritePlacer
if( blk.isReplaceable( w.getWorld(), i, j, k ) )
{
blk = Platform.AIR;
blk = Platform.AIR_BLOCK;
Block blk_b = w.getBlock( i, j + 1, k );
if( blk_b != blk )
@@ -415,7 +415,7 @@ public final class MeteoritePlacer
{
// decay.
Block blk_b = w.getBlock( i, j + 1, k );
if( blk_b == Platform.AIR )
if( blk_b == Platform.AIR_BLOCK )
{
if( Math.random() > 0.4 )
{
@@ -544,7 +544,7 @@ public final class MeteoritePlacer
boolean solid = true;
for( int j = y - 15; j < y - 1; j++ )
{
if( w.getBlock( x, j, z ) == Platform.AIR )
if( w.getBlock( x, j, z ) == Platform.AIR_BLOCK )
{
solid = false;
}
@@ -65,7 +65,7 @@ public class ChunkOnly extends StandardWorld
{
return this.target.getBlock( x & 0xF, y, z & 0xF );
}
return Platform.AIR;
return Platform.AIR_BLOCK;
}
@Override
@@ -73,7 +73,7 @@ public class Fallout
}
else
{
this.putter.put( w, x, y, z, Platform.AIR );
this.putter.put( w, x, y, z, Platform.AIR_BLOCK );
}
}
}
@@ -54,7 +54,7 @@ public class FalloutCopy extends Fallout
}
else if( a > AIR_BLOCK_THRESHOLD )
{
this.putter.put( w, x, y, z, Platform.AIR );
this.putter.put( w, x, y, z, Platform.AIR_BLOCK );
}
else
{
@@ -65,7 +65,7 @@ public class StandardWorld implements IMeteoriteWorld
{
return this.w.getBlock( x, y, z );
}
return Platform.AIR;
return Platform.AIR_BLOCK;
}
@Override