Always use qualified access for fields and methods
This commit is contained in:
@@ -91,7 +91,7 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
@Override
|
||||
public String getUnlocalizedName( int meta )
|
||||
{
|
||||
return getUnlocalizedName();
|
||||
return this.getUnlocalizedName();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -125,12 +125,12 @@ public abstract class BlockSlabCommon extends BlockSlab
|
||||
@Nullable
|
||||
public Item getItemDropped( IBlockState state, Random rand, int fortune )
|
||||
{
|
||||
return Item.getItemFromBlock( halfSlabBlock );
|
||||
return Item.getItemFromBlock( this.halfSlabBlock );
|
||||
}
|
||||
|
||||
public ItemStack getItem( World worldIn, BlockPos pos, IBlockState state )
|
||||
{
|
||||
return new ItemStack( halfSlabBlock, 1, 0 );
|
||||
return new ItemStack( this.halfSlabBlock, 1, 0 );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ public class BlockQuartzPillar extends AEBaseBlock implements IOrientableBlock
|
||||
{
|
||||
super( Material.ROCK );
|
||||
// The upwards facing pillar is the default (i.e. for the item model)
|
||||
setDefaultState( getDefaultState().withProperty( AXIS_ORIENTATION, EnumFacing.Axis.Y ) );
|
||||
this.setDefaultState( this.getDefaultState().withProperty( AXIS_ORIENTATION, EnumFacing.Axis.Y ) );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -47,22 +47,22 @@ public final class GlassState
|
||||
|
||||
public int getX()
|
||||
{
|
||||
return x;
|
||||
return this.x;
|
||||
}
|
||||
|
||||
public int getY()
|
||||
{
|
||||
return y;
|
||||
return this.y;
|
||||
}
|
||||
|
||||
public int getZ()
|
||||
{
|
||||
return z;
|
||||
return this.z;
|
||||
}
|
||||
|
||||
public boolean isFlushWith( EnumFacing side )
|
||||
{
|
||||
return flushWith.contains( side );
|
||||
return this.flushWith.contains( side );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user