Formatted code
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user