use of net.minecraftforge.common.config.Property in project Railcraft by Railcraft.
the class RailcraftConfig method loadBoreMineableBlocks.
public static void loadBoreMineableBlocks() {
String tag = "mineableBlocks";
Property prop = get(CAT_TWEAKS_CARTS + ".bore", tag, "{}", "add block ids to '{t}' in a common separated list to define non-vanilla blocks mineable by the tunnel bore \n" + "ignored if 'tweaks.carts.bore.mineAllBlocks=true' \n" + "metadata sensitive entries can be defined in the form 'modid:blockname#metadata' \n" + "Example:{t}= { minecraft:stone, minecraft:stonebrick#3 }");
boreMineableBlocksString = prop.getString();
}
use of net.minecraftforge.common.config.Property in project Railcraft by Railcraft.
the class RailcraftConfig method get.
private static int get(String cat, String tag, int defaultValue, String comment) {
Property prop = configMain.get(cat, tag, defaultValue);
decorateComment(prop, tag, comment);
return parseInteger(prop, defaultValue);
}
use of net.minecraftforge.common.config.Property in project Minechem by iopleke.
the class Config method loadConfig.
private static void loadConfig() {
Property prop;
List<String> configList = new ArrayList<String>();
config.addCustomCategoryComment(Configuration.CATEGORY_GENERAL, StatCollector.translateToLocal("config.general.description"));
prop = config.get(Configuration.CATEGORY_GENERAL, "debugMode", Config.debugMode);
prop.comment = StatCollector.translateToLocal("config.debugMode");
prop.setLanguageKey("config.debugMode.tooltip");
debugMode = prop.getBoolean();
configList.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "useDefaultElements", Config.useDefaultElements);
prop.comment = StatCollector.translateToLocal("config.useDefaultElements");
prop.setLanguageKey("config.useDefaultElements.tooltip");
useDefaultElements = prop.getBoolean();
configList.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "useDefaultMolecules", Config.useDefaultMolecules);
prop.comment = StatCollector.translateToLocal("config.useDefaultMolecules");
prop.setLanguageKey("config.useDefaultMolecules.tooltip");
useDefaultMolecules = prop.getBoolean();
configList.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "useDefaultResearchPages", Config.useDefaultResearchPages);
prop.comment = StatCollector.translateToLocal("config.useDefaultResearchPages");
prop.setLanguageKey("config.useDefaultResearchPages.tooltip");
useDefaultResearchPages = prop.getBoolean();
configList.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "enablePatreon", Config.enablePatreon);
prop.comment = StatCollector.translateToLocal("config.enablePatreon");
prop.setLanguageKey("config.enablePatreon.tooltip");
enablePatreon = prop.getBoolean();
configList.add(prop.getName());
prop = config.get(Configuration.CATEGORY_GENERAL, "playerPrivateKnowledge", Config.playerPrivateKnowledge);
prop.comment = StatCollector.translateToLocal("config.playerPrivateKnowledge");
prop.setLanguageKey("config.playerPrivateKnowledge.tooltip");
playerPrivateKnowledge = prop.getBoolean();
configList.add(prop.getName());
if (config.hasChanged()) {
config.save();
}
}
use of net.minecraftforge.common.config.Property in project ArsMagica2 by Mithion.
the class AMConfig method init.
public void init() {
PlayerSpellsDamageTerrain = get(CATEGORY_GENERAL, KEY_PlayerSpellsDamageTerrain, true, "Set to false to prevent terrain damage from player-casted spells.").getBoolean(true);
NPCSpellsDamageTerrain = get(CATEGORY_GENERAL, KEY_NPCSpellsDamageTerrain, false, "Set to false to prevent terrain damage from NPC-casted spells.").getBoolean(false);
DamageMultiplier = (float) get(CATEGORY_GENERAL, KEY_DamageMultiplier, 1.0, "How much the damage in Ars Magica is scaled.").getDouble(1.0);
UseSpecialRenderers = get(CATEGORY_GENERAL, KEY_UseSpecialRenderers, true, "Render spell effects on equipped scrolls rather than the scroll itself (only applies to the in-game one, the one on your hotbar remains unchanged)").getBoolean(true);
boolean def = !Loader.isModLoaded("NotEnoughItems");
DisplayManaInInventory = get(CATEGORY_GENERAL, KEY_DisplayManaInInventory, def, "This will toggle mana display on and off in your inventory. Default 'O' key in game.").getBoolean(def);
FrictionCoefficient = (float) get(CATEGORY_GENERAL, KEY_FrictionCoefficient, 0.8, "This is the multiplier used to determine velocity lost when a spell projectile bounces. 0.0 is a complete stop, 1.0 is no loss.").getDouble(0.8);
Property retroWorldGenProp = get(CATEGORY_GENERAL, KEY_RetroactiveWorldGen, false, "Set this to true to enable retroactive worldgen for Ars Magica structures and ores. *WARNING* This may break your save! Do a backup first! Note: This will automatically turn off after running the game once.");
RetroWorldGen = retroWorldGenProp.getBoolean(false);
if (RetroWorldGen) {
retroWorldGenProp.set(false);
}
secondarySkillTreeTierCap = get(CATEGORY_GENERAL, KEY_SecondarySkillTreeTierCap, 99, "Sets how far a player may progress into secondary skill trees.").getInt();
mageVillagerProfessionID = get(CATEGORY_GENERAL, KEY_MageVillagerProfessionID, 29).getInt();
manaHudPosition = new AMVector2(get(CATEGORY_UI, KEY_ManaHudPositionX, 0.7104166746139526).getDouble(0.7104166746139526), get(CATEGORY_UI, KEY_ManaHudPositionY, 0.9137254953384399).getDouble(0.9137254953384399));
burnoutHudPosition = new AMVector2(get(CATEGORY_UI, KEY_BurnoutHudPositionX, 0.13333334028720856).getDouble(0.13333334028720856), get(CATEGORY_UI, KEY_BurnoutHudPositionY, 0.9176470637321472).getDouble(0.9176470637321472));
positiveBuffsPosition = new AMVector2(get(CATEGORY_UI, KEY_BuffsPositivePositionX, 0.5145833492279053).getDouble(0.5145833492279053), get(CATEGORY_UI, KEY_BuffsPositivePositionY, 0.47843137383461).getDouble(0.47843137383461));
negativeBuffsPosition = new AMVector2(get(CATEGORY_UI, KEY_BuffsNegativePositionX, 0.46666666865348816).getDouble(0.46666666865348816), get(CATEGORY_UI, KEY_BuffsNegativePositionY, 0.47843137383461).getDouble(0.47843137383461));
levelPosition = new AMVector2(get(CATEGORY_UI, KEY_LevelPositionX, 0.49791666865348816).getDouble(0.49791666865348816), get(CATEGORY_UI, KEY_LevelPositionY, 0.8117647171020508).getDouble(0.8117647171020508));
affinityPosition = new AMVector2(get(CATEGORY_UI, KEY_AffinityPositionX, 0.9770833253860474).getDouble(0.9770833253860474), get(CATEGORY_UI, KEY_AffinityPositionY, 0.9).getDouble(0.9));
armorPositionChest = new AMVector2(get(CATEGORY_UI, KEY_ArmorPositionChestX, 0.004166666883975267).getDouble(0.004166666883975267), get(CATEGORY_UI, KEY_ArmorPositionChestY, 0.5568627715110779).getDouble(0.5568627715110779));
armorPositionHead = new AMVector2(get(CATEGORY_UI, KEY_ArmorPositionHeadX, 0.004166666883975267).getDouble(0.004166666883975267), get(CATEGORY_UI, KEY_ArmorPositionHeadY, 0.5176470875740051).getDouble(0.5176470875740051));
armorPositionLegs = new AMVector2(get(CATEGORY_UI, KEY_ArmorPositionLegsX, 0.004166666883975267).getDouble(0.004166666883975267), get(CATEGORY_UI, KEY_ArmorPositionLegsY, 0.5960784554481506).getDouble(0.5960784554481506));
armorPositionBoots = new AMVector2(get(CATEGORY_UI, KEY_ArmorPositionBootsX, 0.004166666883975267).getDouble(0.004166666883975267), get(CATEGORY_UI, KEY_ArmorPositionBootsY, 0.6352941393852234).getDouble(0.6352941393852234));
xpBarPosition = new AMVector2(get(CATEGORY_UI, KEY_XPBarPositionX, 0.31041666865348816).getDouble(0.31041666865348816), get(CATEGORY_UI, KEY_XPBarPositionY, 0.7843137383460999).getDouble(0.7843137383460999));
contingencyPosition = new AMVector2(get(CATEGORY_UI, KEY_ContingencyPositionX, 0.0020833334419876337).getDouble(0.0020833334419876337), get(CATEGORY_UI, KEY_ContingencyPositionY, 0.9333333373069763).getDouble(0.9333333373069763));
manaNumericPosition = new AMVector2(get(CATEGORY_UI, KEY_ManaNumericPositionX, 0.7437499761581421).getDouble(0.7437499761581421), get(CATEGORY_UI, KEY_ManaNumericPositionY, 0.8941176533699036).getDouble(0.8941176533699036));
burnoutNumericPosition = new AMVector2(get(CATEGORY_UI, KEY_BurnoutNumericPositionX, 0.21041665971279144).getDouble(0.21041665971279144), get(CATEGORY_UI, KEY_BurnoutNumericPositionY, 0.9058823585510254).getDouble(0.9058823585510254));
XPNumericPosition = new AMVector2(get(CATEGORY_UI, KEY_XPNumericPositionX, 0.47083333134651184).getDouble(0.47083333134651184), get(CATEGORY_UI, KEY_XPNumericPositionY, 0.7450980544090271).getDouble(0.7450980544090271));
SpellBookPosition = new AMVector2(get(CATEGORY_UI, KEY_SpellBookPositionX, 0.0).getDouble(0.0), get(CATEGORY_UI, KEY_SpellBookPositionY, 0.0).getDouble(0.0));
showHudMinimally = get(CATEGORY_UI, KEY_ShowHudMinimally, false, "Set this to true to only show the AM HUD when a spell is equipped").getBoolean(false);
showArmorUI = get(CATEGORY_UI, KEY_ShowArmorUI, true).getBoolean(true);
showBuffs = get(CATEGORY_UI, KEY_ShowBuffs, true).getBoolean(true);
showNumerics = get(CATEGORY_UI, KEY_ShowNumerics, false).getBoolean(false);
showXPAlways = get(CATEGORY_UI, KEY_ShowXPAlways, false).getBoolean(false);
showHudBars = get(CATEGORY_UI, KEY_ShowHUDBars, true).getBoolean(true);
witchwoodForestID = get(CATEGORY_GENERAL, KEY_WitchwoodForestBiomeID, 100, "The biome ID for Witchwood Forests. Change this if you run into issues with other mods that add biomes.").getInt();
witchwoodLeafParticles = get(CATEGORY_GENERAL, KEY_witchwoodLeavesFall, true, "Disable this if you experience low FPS in witchwood forests").getBoolean(true);
enableWitchwoodForest = get(CATEGORY_GENERAL, KEY_EnableWitchwoodForest, true, "Disable this if you prefer the witchwood forest to not generate").getBoolean(true);
witchwoodForestRarity = get(CATEGORY_GENERAL, KEY_WitchwoodForestRarity, 6, "Sets how rare witchwood forests are. Lower is more rare.").getInt();
allowCreativeTargets = get(CATEGORY_GENERAL, KEY_allowCreativeTargets, true, "Disable this to prevent spell effects on creative players").getBoolean(true);
moonstoneMeteorsDestroyTerrain = get(CATEGORY_GENERAL, KEY_moonstoneMeteorsDestroyTerrain, true, "Should moonstone meteors destroy terrain when landing? Keep in mind they will never land on anything other than grass.").getBoolean(true);
suggestSpellNames = get(CATEGORY_GENERAL, KEY_moonstoneMeteorsDestroyTerrain, true, "Set this to true to allow AM2 to get random spell names from Seventh Sanctum, and suggest them when naming spells. Naturally, an internet connection is required. Keep in mind, while I try to keep things family friendly, it's possible that not all names generated are so.").getBoolean(true);
forgeSmeltsVillagers = get(CATEGORY_GENERAL, KEY_ForgeSmeltsVillagers, true, "Set this to true to have the forge component smelt villagers into emeralds. This counts as an attack and lowers your reputation.").getBoolean(true);
everstoneRepairRate = get(CATEGORY_GENERAL, KEY_EverstoneRepairRate, 180, "The time taken, in ticks, for an everstone to repair after breaking.").getInt();
stagedCompendium = get(CATEGORY_GENERAL, KEY_StagedCompendium, true, "Set this to false to have the compendium show everything, and not unlock as you go.").getBoolean(true);
colourblindMode = get(CATEGORY_GENERAL, KEY_ColourblindMode, false, "Set this to true to have AM2 list out colours for skill points and essence types rather than showing them as a colour.").getBoolean(false);
candlesAreRovingLights = get(CATEGORY_GENERAL, KEY_CandlesAreRovingLights, true, "Set this to false to disable candles being able to act as roving lights, which improves performance.").getBoolean(true);
allowCompendiumUpdates = get(CATEGORY_GENERAL, KEY_AllowCompendiumUpdates, true, "If true, AM2 will automatically download compendium updates when available for your mod version.").getBoolean(true);
allowVersionChecks = get(CATEGORY_GENERAL, KEY_AllowVersionChecks, true, "If true, AM2 will notify you via the compendium when new versions are available. It will not spam chat on login. You will not be notified of updates that are not for your current Minecraft version.").getBoolean(true);
meteorMinSpawnLevel = get(CATEGORY_GENERAL, KEY_MeteorMinSpawnLevel, 10, "You must reach this magic level before Moonstone meteors will fall near you.").getInt();
hazardousGateways = get(CATEGORY_GENERAL, KEY_HazardousGateways, true, "Set this to false in order to disable gateways sending you partial distances if you don't have enough power.").getBoolean(true);
ArmorXPInfusionFactor = get(CATEGORY_GENERAL, KEY_ArmorXPInfusionFactor, 1.0, "Alter this to change the rate at which armor XP infuses.").getDouble();
disarmAffectsPlayers = get(CATEGORY_GENERAL, KEY_DisarmAffectsPlayers, true, "If false, disarm won't work on players.").getBoolean(true);
manaCap = get(CATEGORY_GENERAL, KEY_ManaCap, 0, "Sets the maximum mana a player can have (0 for no cap)").getDouble(0);
digBreaksTileEntities = get(CATEGORY_GENERAL, KEY_DigBreaksTEs, true, "Can the dig component break blocks that have a tile entity?").getBoolean(true);
savePowerOnWorldSave = get(CATEGORY_GENERAL, KEY_SavePowerOnWorldSave, true, "Set this to false if you are experiencing tick lage due to AM2 saving power data alongside the world save. This will instead cache the power data in memory to be saved later. This comes with more risk in the event of a crash, and a larger memory footprint, but increased performance. Can be used alongside chunk unload save config. Power data is still always saved at world unload (server shutdown).").getBoolean(true);
canDryadsDespawn = get(CATEGORY_MOBS, KEY_CanDryadsDespawn, true, "Set this to false if you don't want dryads to despawn.").getBoolean(true);
witchwoodFrequency = get(CATEGORY_GENERAL, KEY_WitchwoodFrequency, 35, "The chance of a witchwood tree generating. Lower numbers give more trees.").getInt(35);
poolFrequency = get(CATEGORY_GENERAL, KEY_EssenceLakeFrequency, 25, "The chance of an etherium pool generating. Lower numbers give more pools.").getInt(25);
wakebloomFrequency = get(CATEGORY_GENERAL, KEY_WakebloomFrequency, 10, "The chance of a wakebloom generating. Lower numbers give more wakeblooms, and anything less than 7 will attempt to generate in every ocean chunk.").getInt(10);
flowerGenAttempts = get(CATEGORY_GENERAL, KEY_FlowerGenAttempts, 8, "The number of flower generation attempts made per chunk. Higher numbers give more flowers, but can slow worldgen.").getInt(8);
vinteumMinHeight = get(CATEGORY_GENERAL, KEY_VinteumMin, 10, "The minimum height for vinteum to generate.").getInt(10);
vinteumMaxHeight = get(CATEGORY_GENERAL, KEY_VinteumMax, 45, "The maximum height for vinteum to generate.").getInt(45);
vinteumVeinSize = get(CATEGORY_GENERAL, KEY_VinteumVein, 4, "The number of blocks in a vein of vinteum.").getInt(4);
vinteumFrequency = get(CATEGORY_GENERAL, KEY_VinteumFreq, 6, "The number of vinteum veins generated per chunk.").getInt(6);
chimeriteMinHeight = get(CATEGORY_GENERAL, KEY_ChimeriteMin, 10, "The minimum height for chimerite to generate.").getInt(10);
chimeriteMaxHeight = get(CATEGORY_GENERAL, KEY_ChimeriteMax, 80, "The maximum height for chimerite to generate.").getInt(80);
chimeriteVeinSize = get(CATEGORY_GENERAL, KEY_ChimeriteVein, 6, "The number of blocks in a vein of chimerite.").getInt(6);
chimeriteFrequency = get(CATEGORY_GENERAL, KEY_ChimeriteFreq, 8, "The number of chimerite veins generated per chunk.").getInt(6);
topazMinHeight = get(CATEGORY_GENERAL, KEY_TopazMin, 10, "The minimum height for topaz to generate.").getInt(10);
topazMaxHeight = get(CATEGORY_GENERAL, KEY_TopazMax, 80, "The maximum height for topaz to generate.").getInt(80);
topazVeinSize = get(CATEGORY_GENERAL, KEY_TopazVein, 6, "The number of blocks in a vein of topaz.").getInt(6);
topazFrequency = get(CATEGORY_GENERAL, KEY_TopazFreq, 8, "The number of topaz veins generated per chunk.").getInt(8);
sunstoneMinHeight = get(CATEGORY_GENERAL, KEY_SunstoneMin, 5, "The minimum height for sunstone to generate.").getInt(5);
sunstoneMaxHeight = get(CATEGORY_GENERAL, KEY_SunstoneMax, 120, "The maximum height for sunstone to generate.").getInt(120);
sunstoneVeinSize = get(CATEGORY_GENERAL, KEY_SunstoneVein, 3, "The number of blocks in a vein of sunstone.").getInt(3);
sunstoneFrequency = get(CATEGORY_GENERAL, KEY_SunstoneFreq, 20, "The number of sunstone veins generated per chunk.").getInt(20);
enderAffinityAbilityCooldown = get(CATEGORY_GENERAL, KEY_EnderAffinityAbilityCooldown, 100, "Set this to the number of ticks between ender affinity teleports.").getInt();
String digBlacklistString = get(CATEGORY_GENERAL, KEY_DigDisabledBlocks, "", "Comma-separated list of block IDs that dig cannot break. If a block is flagged as unbreackable in code, Dig will already be unable to break it. There is no need to set it here (eg, bedrock, etc.). Dig also makes use of Forge block harvest checks. This is mainly for fine-tuning.").getString();
digBlacklist = digBlacklistString.split(",");
String worldgenBlackList = get(CATEGORY_GENERAL, KEY_WorldgenBlacklist, "-27,-28,-29", "Comma-separated list of dimension IDs that AM should *not* do worldgen in.").getString();
String[] split = worldgenBlackList.split(",");
worldgenBlacklist = new int[split.length];
int count = 0;
for (String s : split) {
if (s.equals(""))
continue;
try {
worldgenBlacklist[count] = Integer.parseInt(s.trim());
} catch (Throwable t) {
LogHelper.info("Malformed item in worldgen blacklist (%s). Skipping.", s);
t.printStackTrace();
worldgenBlacklist[count] = -1;
} finally {
count++;
}
}
String apBlockBL = get(CATEGORY_GENERAL, KEY_Appropriation_Block_Blacklist, "", "Comma-separated list of block IDs that appropriation cannot pick up.").getString();
appropriationBlockBlacklist = apBlockBL.split(",");
String apEntBL = get(CATEGORY_GENERAL, KEY_Appropriation_Mob_Blacklist, "", "Comma-separated list of *fully qualified* Entity class names that appropriation cannot pick up - example, am2.entities.EntityDryad. They are case sensitive.").getString();
split = apEntBL.split(",");
appropriationMobBlacklist = new Class[split.length];
count = 0;
for (String s : split) {
if (s.equals(""))
continue;
try {
appropriationMobBlacklist[count] = Class.forName(s);
} catch (Throwable t) {
LogHelper.info("Malformed item in appropriation entity blacklist (%s). Skipping.", s);
t.printStackTrace();
appropriationMobBlacklist[count] = null;
} finally {
count++;
}
}
initDirectProperties();
save();
}
use of net.minecraftforge.common.config.Property in project Geolosys by oitsjustjose.
the class Config method loadConfiguration.
void loadConfiguration() {
Property property;
String category = "Feature Control";
List<String> propertyOrder = Lists.newArrayList();
FeatureControl = config.getCategory(category);
FeatureControl.setComment("Control which features are enabled:");
property = config.get(category, "Replace Stone Variant Deposits", true).setRequiresMcRestart(true);
modStones = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Yellorium", true);
enableYellorium = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Osmium", true);
enableOsmium = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Osmium Exclusively (without platinum)", false);
enableOsmiumExclusively = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Sulfur from Coal", true);
enableSulfur = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Ingots", true).setRequiresMcRestart(true);
enableIngots = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Coals", true).setRequiresMcRestart(true);
enableCoals = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Prospector's Pick", true).setRequiresMcRestart(true);
enableProPick = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Enhanced Compass Features", true);
enhancedCompass = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Prospector's Pick Range", 5).setRequiresMcRestart(false);
property.setMinValue(1);
property.setMaxValue(255);
proPickRange = property.getInt();
propertyOrder.add(property.getName());
property = config.get(category, "Enable Cluster Smelting", true).setRequiresMcRestart(true);
enableSmelting = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Register Aluminum Cluster as oreBauxite", false).setRequiresMcRestart(true);
registerAsBauxite = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Blocks mineral deposits can replace", new String[] { "minecraft:stone:0", "minecraft:stone:1", "minecraft:stone:2", "minecraft:stone:3", "minecraft:dirt:0" });
replacementMatsRaw = property.getStringList();
propertyOrder.add(property.getName());
FeatureControl.setPropertyOrder(propertyOrder);
// Sample settings
category = "Ore Samples";
propertyOrder = Lists.newArrayList();
Samples = config.getCategory(category);
Samples.setComment("Settings strictly regarding samples");
property = config.get(category, "Maximum Number of Samples per Chunk", 10);
property.setMinValue(1);
property.setMaxValue(16);
maxSamples = property.getInt();
propertyOrder.add(property.getName());
property = config.get(category, "Allow samples to spawn in water (shallow or deep)", false);
generateSamplesInWater = property.getBoolean();
propertyOrder.add(property.getName());
property = config.get(category, "Samples drop nothing, instead reveal their contents via chat", false);
boringSamples = property.getBoolean();
propertyOrder.add(property.getName());
Samples.setPropertyOrder(propertyOrder);
category = "User Entries";
propertyOrder = Lists.newArrayList();
UserEntries = config.getCategory(category).setRequiresMcRestart(true);
UserEntries.setComment("It is STRONGLY suggested you use the ConfigGUI for this.");
property = config.get(category, "Custom Ore Entries", new String[] {});
property.setComment("Format is:\n" + "modid:block:meta, clusterSize, min Y, max Y, chance to gen in chunk. Example:\n" + "actuallyadditions:block_misc:3, 32, 13, 42, 20\n" + "Optionally you can declare your own \"sample\" block by appending an extra modid:block:meta to the end. Example:\n" + "actuallyadditions:block_misc:3, 32, 13, 42, 20, actuallyadditions:block_misc:1\n" + "META, COLONS AND COMMAS ARE REQUIRED.");
userOreEntriesRaw = property.getStringList();
propertyOrder.add(property.getName());
property = config.get(category, "Custom Stone Entries", new String[] {});
property.setComment("Format is:\n" + "modid:block:meta, min Y, max Y, chance to gen in chunk\n" + "ALL CLUSTERS ARE APPROX. THE SAME SIZE & AREN'T CONFIGURABLE.\n" + "META, COLONS AND COMMAS ARE REQUIRED. Example:\n" + "rustic:slate:0, 27, 54, 10");
userStoneEntriesRaw = property.getStringList();
propertyOrder.add(property.getName());
UserEntries.setPropertyOrder(propertyOrder);
if (config.hasChanged()) {
config.save();
}
}
Aggregations