Add this qualifier

This commit is contained in:
thatsIch
2015-09-30 14:26:54 +02:00
parent efecd4b8c1
commit ebda927fb5
105 changed files with 422 additions and 415 deletions
+6 -6
View File
@@ -90,7 +90,7 @@ public abstract class AEBaseBlock extends Block implements IAEFeature
@Override
public boolean isVisuallyOpaque()
{
return isOpaque && isFullSize;
return this.isOpaque && this.isFullSize;
}
protected AEBaseBlock( final Material mat )
@@ -139,7 +139,7 @@ public abstract class AEBaseBlock extends Block implements IAEFeature
@Override
final protected BlockState createBlockState()
{
return new ExtendedBlockState( this, getAEStates(), new IUnlistedProperty[] { AE_BLOCK_POS, AE_BLOCK_ACCESS} );
return new ExtendedBlockState( this, this.getAEStates(), new IUnlistedProperty[] { AE_BLOCK_POS, AE_BLOCK_ACCESS} );
}
@Override
@@ -245,10 +245,10 @@ public abstract class AEBaseBlock extends Block implements IAEFeature
public IAESprite getIcon( final IBlockAccess w, final BlockPos pos, final EnumFacing side )
{
final IBlockState state =w.getBlockState( pos );
final IOrientable ori = getOrientable( w, pos );
final IOrientable ori = this.getOrientable( w, pos );
if ( ori == null )
return getIcon( side,state );
return this.getIcon( side,state );
return this.getIcon( this.mapRotation( ori, side ), state );
}
@@ -680,12 +680,12 @@ public abstract class AEBaseBlock extends Block implements IAEFeature
String textureName;
public void setBlockTextureName( final String texture )
{
textureName = texture;
this.textureName = texture;
}
private String getTextureName()
{
return textureName;
return this.textureName;
}
}
@@ -115,7 +115,7 @@ public abstract class AEBaseTileBlock extends AEBaseBlock implements IAEFeature,
@Nullable
public <T extends AEBaseTile> T getTileEntity( final IBlockAccess w, final int x, final int y, final int z )
{
return getTileEntity( w, new BlockPos(x,y,z) );
return this.getTileEntity( w, new BlockPos(x,y,z) );
}
@Nullable
@@ -73,7 +73,7 @@ public class BlockCraftingUnit extends AEBaseTileBlock
@Override
public IBlockState getStateFromMeta( final int meta )
{
return getDefaultState().withProperty( POWERED, ( meta & 1 ) == 1 ).withProperty( FORMED, ( meta & 2 ) == 2 );
return this.getDefaultState().withProperty( POWERED, ( meta & 1 ) == 1 ).withProperty( FORMED, ( meta & 2 ) == 2 );
}
@Override
@@ -153,7 +153,7 @@ public class BlockCraftingUnit extends AEBaseTileBlock
@Override
public appeng.client.texture.IAESprite getIcon( final EnumFacing side, final IBlockState state )
{
if( type == CraftingUnitType.ACCELERATOR )
if( this.type == CraftingUnitType.ACCELERATOR )
{
if( (boolean) state.getValue( FORMED ) )
{
@@ -71,7 +71,7 @@ public class BlockLightDetector extends AEBaseTileBlock implements IOrientableBl
public IBlockState getStateFromMeta(
final int meta )
{
return getDefaultState();
return this.getDefaultState();
}
@Override
@@ -75,7 +75,7 @@ public class BlockQuartzTorch extends AEBaseBlock implements IOrientableBlock, I
public IBlockState getStateFromMeta(
final int meta )
{
return getDefaultState();
return this.getDefaultState();
}
@Override
@@ -47,7 +47,7 @@ public class BlockController extends AEBaseTileBlock
@Override
public String getName()
{
return name();
return this.name();
}
};
@@ -70,7 +70,7 @@ public class BlockController extends AEBaseTileBlock
@Override
public IBlockState getStateFromMeta( final int meta )
{
return getDefaultState().withProperty( CONTROLLER_STATE, ControllerBlockState.OFFLINE );
return this.getDefaultState().withProperty( CONTROLLER_STATE, ControllerBlockState.OFFLINE );
}
@Override
@@ -58,7 +58,7 @@ public class BlockEnergyCell extends AEBaseTileBlock
@Override
public IBlockState getStateFromMeta( final int meta )
{
return getDefaultState().withProperty( ENERGY_STORAGE, Math.min( 7, Math.max( 0, meta ) ) );
return this.getDefaultState().withProperty( ENERGY_STORAGE, Math.min( 7, Math.max( 0, meta ) ) );
}
public BlockEnergyCell()