Skip to content

Instantly share code, notes, and snippets.

@Keridos
Created October 6, 2014 12:30
Show Gist options
  • Save Keridos/0179892e59070eb4bd82 to your computer and use it in GitHub Desktop.
Save Keridos/0179892e59070eb4bd82 to your computer and use it in GitHub Desktop.
public void initConfig(Configuration config){
config.getCategory("crafting");
electricFloodlight = config.getBoolean("electricFloodlightEnabled", "crafting", true, "Enables the electric FloodLight");
config.getCategory("general");
energyUsage = config.getInt("energyUsage","general", 5,0,1000,"Energy Usage in RF/t for the electric FloodLight");
refreshRate = config.getInt("refreshRate","general", 3,0,100,"How many Phantom lights should be updated per tick (Higher is faster, but lags more)");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment