All parameters on one line (for now)
Easier picking of 1.7 changes
This commit is contained in:
@@ -121,15 +121,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onItemUse(
|
||||
final ItemStack is,
|
||||
final EntityPlayer p,
|
||||
final World w,
|
||||
final BlockPos pos,
|
||||
final EnumFacing side,
|
||||
final float hitX,
|
||||
final float hitY,
|
||||
final float hitZ )
|
||||
public boolean onItemUse( final ItemStack is, final EntityPlayer p, final World w, final BlockPos pos, final EnumFacing side, final float hitX, final float hitY, final float hitZ )
|
||||
{
|
||||
final Block blk = w.getBlockState( pos ).getBlock();
|
||||
|
||||
@@ -302,8 +294,7 @@ public class ToolColorApplicator extends AEBasePoweredItem implements IStorageCe
|
||||
list.add( i );
|
||||
}
|
||||
|
||||
Collections.sort( list, new Comparator<IAEItemStack>()
|
||||
{
|
||||
Collections.sort( list, new Comparator<IAEItemStack>(){
|
||||
|
||||
@Override
|
||||
public int compare( final IAEItemStack a, final IAEItemStack b )
|
||||
|
||||
@@ -105,9 +105,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
|
||||
this.blockOnly = false;
|
||||
}
|
||||
|
||||
public InWorldToolOperationIngredient(
|
||||
final Block blk,
|
||||
final boolean b )
|
||||
public InWorldToolOperationIngredient( final Block blk, final boolean b )
|
||||
{
|
||||
this.state = blk.getDefaultState();
|
||||
this.blockOnly = b;
|
||||
@@ -248,15 +246,7 @@ public class ToolEntropyManipulator extends AEBasePoweredItem implements IBlockT
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onItemUse(
|
||||
final ItemStack item,
|
||||
final EntityPlayer p,
|
||||
final World w,
|
||||
final BlockPos pos,
|
||||
final EnumFacing side,
|
||||
final float hitX,
|
||||
final float hitY,
|
||||
final float hitZ )
|
||||
public boolean onItemUse( final ItemStack item, final EntityPlayer p, final World w, final BlockPos pos, final EnumFacing side, final float hitX, final float hitY, final float hitZ )
|
||||
{
|
||||
if( this.getAECurrentPower( item ) > 1600 )
|
||||
{
|
||||
|
||||
@@ -120,8 +120,7 @@ public class ToolWirelessTerminal extends AEBasePoweredItem implements IWireless
|
||||
@Override
|
||||
public IConfigManager getConfigManager( final ItemStack target )
|
||||
{
|
||||
final ConfigManager out = new ConfigManager( new IConfigManagerHost()
|
||||
{
|
||||
final ConfigManager out = new ConfigManager( new IConfigManagerHost(){
|
||||
|
||||
@Override
|
||||
public void updateSetting( final IConfigManager manager, final Enum settingName, final Enum newValue )
|
||||
|
||||
Reference in New Issue
Block a user