Formatted code

This commit is contained in:
yueh
2015-12-24 02:03:16 +01:00
parent e94a0cfccf
commit c9e8a6e939
216 changed files with 1196 additions and 1187 deletions
@@ -42,7 +42,7 @@ public final class ChargedQuartzOreBlock extends QuartzOreBlock
this.setBoostBrightnessLow( 2 );
this.setBoostBrightnessHigh( 5 );
}
@Override
public Item getItemDropped(
final IBlockState state,
@@ -61,7 +61,7 @@ public final class ChargedQuartzOreBlock extends QuartzOreBlock
public int damageDropped(
final IBlockState state )
{
for ( final ItemStack crystalStack : AEApi.instance().definitions().materials().certusQuartzCrystalCharged().maybeStack( 1 ).asSet() )
for( final ItemStack crystalStack : AEApi.instance().definitions().materials().certusQuartzCrystalCharged().maybeStack( 1 ).asSet() )
{
return crystalStack.getItemDamage();
}
@@ -76,7 +76,7 @@ public final class ChargedQuartzOreBlock extends QuartzOreBlock
final IBlockState state,
final Random r )
{
if ( !AEConfig.instance.enableEffects )
if( !AEConfig.instance.enableEffects )
{
return;
}
@@ -1,3 +1,4 @@
package appeng.decorative.solid;
@@ -1,3 +1,4 @@
package appeng.decorative.solid;
@@ -44,7 +44,7 @@ public class QuartzGlassBlock extends AEBaseBlock
this.setOpaque( false );
this.setFeature( EnumSet.of( AEFeature.DecorativeQuartzBlocks ) );
}
@Override
public EnumWorldBlockLayer getBlockLayer()
{
@@ -58,7 +58,7 @@ public class QuartzOreBlock extends AEBaseBlock
this.enhanceBrightness = false;
this.setFeature( EnumSet.of( AEFeature.Core ) );
}
@Override
public EnumWorldBlockLayer getBlockLayer()
{
@@ -110,7 +110,7 @@ public class QuartzOreBlock extends AEBaseBlock
{
return 1 + rand.nextInt( 2 );
}
@Override
public Item getItemDropped(
final IBlockState state, /* is null */
@@ -49,18 +49,18 @@ public class QuartzPillarBlock extends AEBaseBlock implements IOrientableBlock
{
return 0;
}
@Override
public IBlockState getStateFromMeta(
final int meta )
{
return this.getDefaultState();
}
@Override
protected IProperty[] getAEStates()
{
return new IProperty[]{ AXIS_ORIENTATION };
return new IProperty[] { AXIS_ORIENTATION };
}
@Override
@@ -72,7 +72,7 @@ public class QuartzPillarBlock extends AEBaseBlock implements IOrientableBlock
@Override
public IOrientable getOrientable( final IBlockAccess w, final BlockPos pos )
{
return new MetaRotation( w, pos,false );
return new MetaRotation( w, pos, false );
}
}
@@ -1,3 +1,4 @@
package appeng.decorative.stair;
@@ -23,14 +24,14 @@ import appeng.decorative.solid.Identifier;
*/
public enum DecorativeStairIdentifier implements Identifier
{
FLUIX("stair.fluix"),
CHISELED_CERTUS_QUARTZ("stair.quartz.certus.chiseled"),
CERTUS_QUARTZ("stair.quartz.certus"),
CERTUS_QUARTZ_PILLAR("stair.quartz.certus.pillar"),
SKYSTONE("stair.skystone"),
SKYSTONE_BLOCK("stair.skystone.block"),
SKYSTONE_BRICK("stair.skystone.brick"),
SKYSTONE_SMALL_BRICK("stair.skystone.brick.small");
FLUIX( "stair.fluix" ),
CHISELED_CERTUS_QUARTZ( "stair.quartz.certus.chiseled" ),
CERTUS_QUARTZ( "stair.quartz.certus" ),
CERTUS_QUARTZ_PILLAR( "stair.quartz.certus.pillar" ),
SKYSTONE( "stair.skystone" ),
SKYSTONE_BLOCK( "stair.skystone.block" ),
SKYSTONE_BRICK( "stair.skystone.brick" ),
SKYSTONE_SMALL_BRICK( "stair.skystone.brick.small" );
private final String name;
@@ -1,3 +1,4 @@
package appeng.decorative.stair;
@@ -1,3 +1,4 @@
package appeng.decorative.stair;
@@ -1,3 +1,4 @@
package appeng.decorative.stair;
@@ -1,3 +1,4 @@
package appeng.decorative.stair;
@@ -1,3 +1,4 @@
package appeng.decorative.stair;