mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 20:22:35 +00:00
Improve code readability in binnie.extrabees package and other packages
* Improve code readability in binnie.extrabees package and other packages * Fix compile error after refactoring
This commit is contained in:
1 parent
b609d6688f
commit
c09ad04284
95 files changed
+3916
-3900
No files matched your search
@@ -1,26 +1,26 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.extrabees.config;
|
||||
|
||||
import binnie.core.mod.config.ConfigFile;
|
||||
import binnie.core.mod.config.ConfigProperty;
|
||||
import binnie.core.mod.config.PropDouble;
|
||||
import binnie.core.mod.config.PropPercentage;
|
||||
import binnie.core.mod.config.ConfigProperty;
|
||||
import binnie.core.mod.config.ConfigFile;
|
||||
|
||||
@ConfigFile(filename = "/config/forestry/extrabees/machines.conf")
|
||||
public class ConfigurationMachines
|
||||
{
|
||||
@ConfigProperty(key = "isolatorConsumptionChance", comment = { "Percentage chance of Isolator consuming bee, in x%." })
|
||||
public class ConfigurationMachines {
|
||||
@ConfigProperty(
|
||||
key = "isolatorConsumptionChance",
|
||||
comment = {"Percentage chance of Isolator consuming bee, in x%."}
|
||||
)
|
||||
@PropPercentage
|
||||
public static int isolatorConsumptionChance;
|
||||
@ConfigProperty(key = "geneticErrorModifier", comment = { "Modifier that changes how severe splicer/inoculator erros are.", "0 would result in no errors, even for awful serums.", "2.0 would result in twice as severe errors" })
|
||||
@PropDouble
|
||||
public static double geneticErrorModifier;
|
||||
public static int isolatorConsumptionChance = 30;
|
||||
|
||||
static {
|
||||
ConfigurationMachines.isolatorConsumptionChance = 30;
|
||||
ConfigurationMachines.geneticErrorModifier = 1.0;
|
||||
}
|
||||
@ConfigProperty(
|
||||
key = "geneticErrorModifier",
|
||||
comment = {
|
||||
"Modifier that changes how severe splicer/inoculator erros are.",
|
||||
"0 would result in no errors, even for awful serums.",
|
||||
"2.0 would result in twice as severe errors"
|
||||
})
|
||||
@PropDouble
|
||||
public static double geneticErrorModifier = 1.0;
|
||||
}
|
||||
Reference in new issue
Block a user