Lower case methods

This commit is contained in:
thatsIch
2015-05-18 00:08:05 +02:00
parent 124d14d3c3
commit 0f9ca7885a
10 changed files with 34 additions and 34 deletions
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -117,7 +117,7 @@ public class SlotCraftingTerm extends AppEngCraftingSlot
maxTimesToCraft = 1;
}
maxTimesToCraft = this.CapCraftingAttempts( maxTimesToCraft );
maxTimesToCraft = this.capCraftingAttempts( maxTimesToCraft );
if( ia == null )
{
@@ -147,7 +147,7 @@ public class SlotCraftingTerm extends AppEngCraftingSlot
}
}
protected int CapCraftingAttempts( int maxTimesToCraft )
protected int capCraftingAttempts( int maxTimesToCraft )
{
return maxTimesToCraft;
}
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -44,7 +44,7 @@ public class BlockPhantomNode extends AEBaseBlock
public boolean onActivated( World w, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ )
{
TilePhantomNode tpn = this.getTileEntity( w, x, y, z );
tpn.BOOM();
tpn.triggerCrashMode();
return true;
}
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -46,7 +46,7 @@ public class TileChunkLoader extends AEBaseTile
Ticket ct;
@TileEvent( TileEventType.TICK )
public void Tick_TileChunkLoader()
public void onTickEvent()
{
if( this.requestTicket )
{
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -41,7 +41,7 @@ public class TileCubeGenerator extends AEBaseTile
EntityPlayer who;
@TileEvent( TileEventType.TICK )
public void TCG_Tick()
public void onTickEvent()
{
if( this.is != null && Platform.isServer() )
{
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -54,7 +54,7 @@ public class TilePhantomNode extends AENetworkTile
this.crashMode = true;
}
public void BOOM()
public void triggerCrashMode()
{
if( this.proxy != null )
{
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -50,20 +50,20 @@ public class RF extends BaseModule
@Override
public void postInit()
{
this.RFStack( "ExtraUtilities", "extractor_base", 12 );
this.RFStack( "ExtraUtilities", "pipes", 11 );
this.RFStack( "ExtraUtilities", "pipes", 14 );
this.RFStack( "ExtraUtilities", "generator", OreDictionary.WILDCARD_VALUE );
this.registerRFAttunement( "ExtraUtilities", "extractor_base", 12 );
this.registerRFAttunement( "ExtraUtilities", "pipes", 11 );
this.registerRFAttunement( "ExtraUtilities", "pipes", 14 );
this.registerRFAttunement( "ExtraUtilities", "generator", OreDictionary.WILDCARD_VALUE );
this.RFStack( "ThermalExpansion", "Cell", OreDictionary.WILDCARD_VALUE );
this.RFStack( "ThermalExpansion", "Dynamo", OreDictionary.WILDCARD_VALUE );
this.registerRFAttunement( "ThermalExpansion", "Cell", OreDictionary.WILDCARD_VALUE );
this.registerRFAttunement( "ThermalExpansion", "Dynamo", OreDictionary.WILDCARD_VALUE );
this.RFStack( "EnderIO", "itemPowerConduit", OreDictionary.WILDCARD_VALUE );
this.RFStack( "EnderIO", "blockCapacitorBank", 0 );
this.RFStack( "EnderIO", "blockPowerMonitor", 0 );
this.registerRFAttunement( "EnderIO", "itemPowerConduit", OreDictionary.WILDCARD_VALUE );
this.registerRFAttunement( "EnderIO", "blockCapacitorBank", 0 );
this.registerRFAttunement( "EnderIO", "blockPowerMonitor", 0 );
}
void RFStack( String mod, String name, int dmg )
void registerRFAttunement( String mod, String name, int dmg )
{
ItemStack modItem = GameRegistry.findItemStack( mod, name, 1 );
if( modItem != null )
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -201,7 +201,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
if( x != null && x.OutputEnergyA <= 0.001 )
{
this.QueueTunnelDrain( PowerUnits.EU, amount );
this.queueTunnelDrain( PowerUnits.EU, amount );
x.OutputEnergyA = amount;
x.OutputVoltageA = voltage;
return 0;
@@ -209,7 +209,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
if( x != null && x.OutputEnergyB <= 0.001 )
{
this.QueueTunnelDrain( PowerUnits.EU, amount );
this.queueTunnelDrain( PowerUnits.EU, amount );
x.OutputEnergyB = amount;
x.OutputVoltageB = voltage;
return 0;
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -133,7 +133,7 @@ public final class PartP2PRFPower extends PartP2PTunnel<PartP2PRFPower> implemen
}
}
this.QueueTunnelDrain( PowerUnits.RF, total );
this.queueTunnelDrain( PowerUnits.RF, total );
}
catch( GridAccessException ignored )
{
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -439,7 +439,7 @@ public abstract class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicSt
return CableBusTextures.BlockP2PTunnel2.getIcon();
}
protected void QueueTunnelDrain( PowerUnits unit, double f )
protected void queueTunnelDrain( PowerUnits unit, double f )
{
double ae_to_tax = unit.convertTo( PowerUnits.AE, f * AEConfig.TUNNEL_POWER_LOSS );
@@ -1,6 +1,6 @@
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
@@ -39,11 +39,11 @@ public class ChunkLogger implements ISubCommand
boolean enabled = false;
@SubscribeEvent
public void ChunkLoad( ChunkEvent.Load load )
public void onChunkLoadEvent( ChunkEvent.Load event )
{
if( !load.world.isRemote )
if( !event.world.isRemote )
{
AELog.info( "Chunk Loaded: " + load.getChunk().xPosition + ", " + load.getChunk().zPosition );
AELog.info( "Chunk Loaded: " + event.getChunk().xPosition + ", " + event.getChunk().zPosition );
this.displayStack();
}
}
@@ -68,7 +68,7 @@ public class ChunkLogger implements ISubCommand
}
@SubscribeEvent
public void ChunkLoad( ChunkEvent.Unload unload )
public void onChunkUnloadEvent( ChunkEvent.Unload unload )
{
if( !unload.world.isRemote )
{