final variables and parameters

This commit is contained in:
thatsIch
2015-09-30 14:24:40 +02:00
parent 059523f543
commit 8b3a954f73
732 changed files with 9253 additions and 9256 deletions
@@ -63,17 +63,17 @@ public class BlockMatrixFrame extends AEBaseBlock implements ICustomCollision
@Override
@SideOnly( Side.CLIENT )
public void getCheckedSubBlocks( Item item, CreativeTabs tabs, List<ItemStack> itemStacks )
public void getCheckedSubBlocks( final Item item, final CreativeTabs tabs, final List<ItemStack> itemStacks )
{
// do nothing
}
@Override
public Iterable<AxisAlignedBB> getSelectedBoundingBoxesFromPool(
World w,
BlockPos pos,
Entity thePlayer,
boolean b )
final World w,
final BlockPos pos,
final Entity thePlayer,
final boolean b )
{
return Arrays.asList( new AxisAlignedBB[] {} );// AxisAlignedBB.getBoundingBox( 0.25, 0, 0.25, 0.75, 0.5, 0.75 )
// } );
@@ -81,37 +81,37 @@ public class BlockMatrixFrame extends AEBaseBlock implements ICustomCollision
@Override
public void addCollidingBlockToList(
World w,
BlockPos pos,
AxisAlignedBB bb,
List<AxisAlignedBB> out,
Entity e )
final World w,
final BlockPos pos,
final AxisAlignedBB bb,
final List<AxisAlignedBB> out,
final Entity e )
{
out.add( AxisAlignedBB.fromBounds( 0.0, 0.0, 0.0, 1.0, 1.0, 1.0 ) );
}
@Override
public boolean canPlaceBlockAt(
World worldIn,
BlockPos pos )
final World worldIn,
final BlockPos pos )
{
return false;
}
@Override
public void onBlockExploded(
World world,
BlockPos pos,
Explosion explosion )
final World world,
final BlockPos pos,
final Explosion explosion )
{
// Don't explode.
}
@Override
public boolean canEntityDestroy(
IBlockAccess world,
BlockPos pos,
Entity entity )
final IBlockAccess world,
final BlockPos pos,
final Entity entity )
{
return false;
}
@@ -48,12 +48,12 @@ public class BlockSpatialIOPort extends AEBaseTileBlock
@Override
public void onNeighborBlockChange(
World w,
BlockPos pos,
IBlockState state,
Block neighborBlock )
final World w,
final BlockPos pos,
final IBlockState state,
final Block neighborBlock )
{
TileSpatialIOPort te = this.getTileEntity( w, pos );
final TileSpatialIOPort te = this.getTileEntity( w, pos );
if( te != null )
{
te.updateRedstoneState();
@@ -62,20 +62,20 @@ public class BlockSpatialIOPort extends AEBaseTileBlock
@Override
public boolean onActivated(
World w,
BlockPos pos,
EntityPlayer p,
EnumFacing side,
float hitX,
float hitY,
float hitZ )
final World w,
final BlockPos pos,
final EntityPlayer p,
final EnumFacing side,
final float hitX,
final float hitY,
final float hitZ )
{
if( p.isSneaking() )
{
return false;
}
TileSpatialIOPort tg = this.getTileEntity( w, pos );
final TileSpatialIOPort tg = this.getTileEntity( w, pos );
if( tg != null )
{
if( Platform.isServer() )
@@ -46,12 +46,12 @@ public class BlockSpatialPylon extends AEBaseTileBlock
@Override
public void onNeighborBlockChange(
World w,
BlockPos pos,
IBlockState state,
Block neighborBlock )
final World w,
final BlockPos pos,
final IBlockState state,
final Block neighborBlock )
{
TileSpatialPylon tsp = this.getTileEntity( w, pos );
final TileSpatialPylon tsp = this.getTileEntity( w, pos );
if( tsp != null )
{
tsp.onNeighborBlockChange();
@@ -60,10 +60,10 @@ public class BlockSpatialPylon extends AEBaseTileBlock
@Override
public int getLightValue(
IBlockAccess w,
BlockPos pos )
final IBlockAccess w,
final BlockPos pos )
{
TileSpatialPylon tsp = this.getTileEntity( w, pos );
final TileSpatialPylon tsp = this.getTileEntity( w, pos );
if( tsp != null )
{
return tsp.getLightValue();