Basic reformat, hit once, hope never again
This commit is contained in:
@@ -27,11 +27,11 @@ public class Fallout
|
||||
public void getRandomFall( IMeteoriteWorld w, int x, int y, int z )
|
||||
{
|
||||
double a = Math.random();
|
||||
if ( a > 0.9 )
|
||||
if( a > 0.9 )
|
||||
this.putter.put( w, x, y, z, Blocks.stone );
|
||||
else if ( a > 0.8 )
|
||||
else if( a > 0.8 )
|
||||
this.putter.put( w, x, y, z, Blocks.cobblestone );
|
||||
else if ( a > 0.7 )
|
||||
else if( a > 0.7 )
|
||||
this.putter.put( w, x, y, z, Blocks.dirt );
|
||||
else
|
||||
this.putter.put( w, x, y, z, Blocks.gravel );
|
||||
@@ -40,20 +40,20 @@ public class Fallout
|
||||
public void getRandomInset( IMeteoriteWorld w, int x, int y, int z )
|
||||
{
|
||||
double a = Math.random();
|
||||
if ( a > 0.9 )
|
||||
if( a > 0.9 )
|
||||
this.putter.put( w, x, y, z, Blocks.cobblestone );
|
||||
else if ( a > 0.8 )
|
||||
else if( a > 0.8 )
|
||||
this.putter.put( w, x, y, z, Blocks.stone );
|
||||
else if ( a > 0.7 )
|
||||
else if( a > 0.7 )
|
||||
this.putter.put( w, x, y, z, Blocks.grass );
|
||||
else if ( a > 0.6 )
|
||||
else if( a > 0.6 )
|
||||
{
|
||||
for ( Block skyStoneBlock : this.skyStoneDefinition.maybeBlock().asSet() )
|
||||
for( Block skyStoneBlock : this.skyStoneDefinition.maybeBlock().asSet() )
|
||||
{
|
||||
this.putter.put( w, x, y, z, skyStoneBlock );
|
||||
}
|
||||
}
|
||||
else if ( a > 0.5 )
|
||||
else if( a > 0.5 )
|
||||
this.putter.put( w, x, y, z, Blocks.gravel );
|
||||
else
|
||||
this.putter.put( w, x, y, z, Platform.AIR );
|
||||
|
||||
Reference in New Issue
Block a user