Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,48 +18,49 @@
package appeng.core.settings;
import appeng.core.AEConfig;
public enum TickRates
{
Interface(5, 120),
Interface( 5, 120 ),
ImportBus(5, 40),
ImportBus( 5, 40 ),
ExportBus(5, 60),
ExportBus( 5, 60 ),
AnnihilationPlane(2, 120),
AnnihilationPlane( 2, 120 ),
MJTunnel(1, 20),
MJTunnel( 1, 20 ),
METunnel(5, 20),
METunnel( 5, 20 ),
Inscriber(1, 1),
Inscriber( 1, 1 ),
IOPort(1, 5),
IOPort( 1, 5 ),
VibrationChamber(10, 40),
VibrationChamber( 10, 40 ),
StorageBus(5, 60),
StorageBus( 5, 60 ),
ItemTunnel(5, 60),
ItemTunnel( 5, 60 ),
LightTunnel(5, 120);
LightTunnel( 5, 120 );
public int min;
public int max;
TickRates( int min, int max ) {
TickRates( int min, int max )
{
this.min = min;
this.max = max;
}
public void Load(AEConfig config)
public void Load( AEConfig config )
{
config.addCustomCategoryComment(
"TickRates",
" Min / Max Tickrates for dynamic ticking, most of these components also use sleeping, to prevent constant ticking, adjust with care, non standard rates are not supported or tested." );
config.addCustomCategoryComment( "TickRates", " Min / Max Tickrates for dynamic ticking, most of these components also use sleeping, to prevent constant ticking, adjust with care, non standard rates are not supported or tested." );
this.min = config.get( "TickRates", this.name() + ".min", this.min ).getInt( this.min );
this.max = config.get( "TickRates", this.name() + ".max", this.max ).getInt( this.max );
}