Add this qualifier
This commit is contained in:
@@ -121,7 +121,7 @@ public abstract class AEBaseItem extends Item implements IAEFeature
|
||||
public IAESprite getIcon(
|
||||
final ItemStack is )
|
||||
{
|
||||
return myIcon;
|
||||
return this.myIcon;
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
|
||||
@@ -142,7 +142,7 @@ public class NetworkToolViewer implements INetworkTool
|
||||
public int getField(
|
||||
final int id )
|
||||
{
|
||||
return inv.getField( id );
|
||||
return this.inv.getField( id );
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -150,24 +150,24 @@ public class NetworkToolViewer implements INetworkTool
|
||||
final int id,
|
||||
final int value )
|
||||
{
|
||||
inv.setField( id, value );
|
||||
this.inv.setField( id, value );
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getFieldCount()
|
||||
{
|
||||
return inv.getFieldCount();
|
||||
return this.inv.getFieldCount();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clear()
|
||||
{
|
||||
inv.clear();
|
||||
this.inv.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IChatComponent getDisplayName()
|
||||
{
|
||||
return inv.getDisplayName();
|
||||
return this.inv.getDisplayName();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -103,22 +103,22 @@ public class ItemCrystalSeed extends AEBaseItem implements IGrowableCrystal
|
||||
{
|
||||
ModelResourceLocation[] list = null;
|
||||
|
||||
int damage = getProgress( stack );
|
||||
int damage = ItemCrystalSeed.this.getProgress( stack );
|
||||
|
||||
if( damage < CERTUS + SINGLE_OFFSET )
|
||||
{
|
||||
list = certus;
|
||||
list = ItemCrystalSeed.this.certus;
|
||||
}
|
||||
else if( damage < NETHER + SINGLE_OFFSET )
|
||||
{
|
||||
damage -= NETHER;
|
||||
list = nether;
|
||||
list = ItemCrystalSeed.this.nether;
|
||||
}
|
||||
|
||||
else if( damage < FLUIX + SINGLE_OFFSET )
|
||||
{
|
||||
damage -= FLUIX;
|
||||
list = fluix;
|
||||
list = ItemCrystalSeed.this.fluix;
|
||||
}
|
||||
|
||||
if( list == null )
|
||||
|
||||
@@ -71,7 +71,7 @@ public class ItemEncodedPattern extends AEBaseItem implements ICraftingPatternIt
|
||||
final ClientHelper proxy,
|
||||
final String name )
|
||||
{
|
||||
encodedPatternModel = res = proxy.setIcon( this, name );
|
||||
this.encodedPatternModel = this.res = proxy.setIcon( this, name );
|
||||
|
||||
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register( this, new ItemMeshDefinition(){
|
||||
|
||||
@@ -81,7 +81,7 @@ public class ItemEncodedPattern extends AEBaseItem implements ICraftingPatternIt
|
||||
public ModelResourceLocation getModelLocation(
|
||||
final ItemStack stack )
|
||||
{
|
||||
if ( recursive == false )
|
||||
if ( this.recursive == false )
|
||||
{
|
||||
this.recursive = true;
|
||||
|
||||
@@ -90,13 +90,13 @@ public class ItemEncodedPattern extends AEBaseItem implements ICraftingPatternIt
|
||||
final ItemStack is = iep.getOutput( stack );
|
||||
if ( Minecraft.getMinecraft().thePlayer.isSneaking() )
|
||||
{
|
||||
return encodedPatternModel;
|
||||
return ItemEncodedPattern.this.encodedPatternModel;
|
||||
}
|
||||
|
||||
this.recursive = false;
|
||||
}
|
||||
|
||||
return res;
|
||||
return ItemEncodedPattern.this.res;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ItemPaintBall extends AEBaseItem
|
||||
public ModelResourceLocation getModelLocation(
|
||||
final ItemStack stack )
|
||||
{
|
||||
if ( isLumen(stack) )
|
||||
if ( ItemPaintBall.this.isLumen(stack) )
|
||||
return sloc;
|
||||
|
||||
return loc;
|
||||
@@ -86,7 +86,7 @@ public class ItemPaintBall extends AEBaseItem
|
||||
final ItemStack stack,
|
||||
final int renderPass )
|
||||
{
|
||||
final AEColor col = getColor(stack);
|
||||
final AEColor col = this.getColor(stack);
|
||||
|
||||
final int colorValue = stack.getItemDamage() >= 20 ? col.mediumVariant : col.mediumVariant;
|
||||
final int r = ( colorValue >> 16 ) & 0xff;
|
||||
|
||||
@@ -299,6 +299,6 @@ public class ItemFacade extends AEBaseItem implements IFacadeItem, IAlphaPassIte
|
||||
public void registerCustomIcon(
|
||||
final TextureMap map )
|
||||
{
|
||||
myIcon = new BaseIcon( map.registerSprite( new ResourceLocation( AppEng.MOD_ID, "blocks/ItemFacade" ) ));
|
||||
this.myIcon = new BaseIcon( map.registerSprite( new ResourceLocation( AppEng.MOD_ID, "blocks/ItemFacade" ) ));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,21 +101,21 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
|
||||
public InWorldToolOperationIngredient( final IBlockState state )
|
||||
{
|
||||
this.state = state;
|
||||
blockOnly = false;
|
||||
this.blockOnly = false;
|
||||
}
|
||||
|
||||
public InWorldToolOperationIngredient(
|
||||
final Block blk,
|
||||
final boolean b )
|
||||
{
|
||||
state = blk.getDefaultState();
|
||||
blockOnly = b;
|
||||
this.state = blk.getDefaultState();
|
||||
this.blockOnly = b;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
return state.getBlock().hashCode();
|
||||
return this.state.getBlock().hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -130,7 +130,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
|
||||
return false;
|
||||
}
|
||||
final InWorldToolOperationIngredient other = (InWorldToolOperationIngredient) obj;
|
||||
return state == other.state && ( blockOnly && state.getBlock() == other.state.getBlock() );
|
||||
return this.state == other.state && ( this.blockOnly && this.state.getBlock() == other.state.getBlock() );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user