Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -45,7 +45,7 @@ public class ItemPaintBall extends AEBaseItem
this.setFeature( EnumSet.of( AEFeature.PaintBalls ) );
this.setHasSubtypes( true );
if ( Platform.isClient() )
if( Platform.isClient() )
MinecraftForgeClient.registerItemRenderer( this, new PaintBallRender() );
}
@@ -63,10 +63,10 @@ public class ItemPaintBall extends AEBaseItem
public AEColor getColor( ItemStack is )
{
int dmg = is.getItemDamage();
if ( dmg >= DAMAGE_THRESHOLD )
if( dmg >= DAMAGE_THRESHOLD )
dmg -= DAMAGE_THRESHOLD;
if ( dmg >= AEColor.values().length )
if( dmg >= AEColor.values().length )
return AEColor.Transparent;
return AEColor.values()[dmg];
@@ -75,12 +75,12 @@ public class ItemPaintBall extends AEBaseItem
@Override
public void getSubItems( Item i, CreativeTabs ct, List l )
{
for ( AEColor c : AEColor.values() )
if ( c != AEColor.Transparent )
for( AEColor c : AEColor.values() )
if( c != AEColor.Transparent )
l.add( new ItemStack( this, 1, c.ordinal() ) );
for ( AEColor c : AEColor.values() )
if ( c != AEColor.Transparent )
for( AEColor c : AEColor.values() )
if( c != AEColor.Transparent )
l.add( new ItemStack( this, 1, DAMAGE_THRESHOLD + c.ordinal() ) );
}