本文整理匯總了Java中net.minecraftforge.common.Configuration.addCustomCategoryComment方法的典型用法代碼示例。如果您正苦於以下問題:Java Configuration.addCustomCategoryComment方法的具體用法?Java Configuration.addCustomCategoryComment怎麽用?Java Configuration.addCustomCategoryComment使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類net.minecraftforge.common.Configuration
的用法示例。
在下文中一共展示了Configuration.addCustomCategoryComment方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: buildBlacklist
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void buildBlacklist(Configuration config) {
config.addCustomCategoryComment(
"ITEM_BLACKLIST",
"Add here the blacklisted items (set them to true).\n"
+ "'item.' signifies an item, 'tile.' signifies a block.\n"
+ "Everytime this is changed, you probably should delete the price file.\n"
+ "(although this is not necessary.)");
Property configProperty;
for (int i = 0; i < Item.itemsList.length; i++) {
if (Item.itemsList[i] == null)
continue;
Boolean isBlackListed = false;
if (defBlacklist != null){
isBlackListed = defBlacklist.get(Item.itemsList[i].itemID);
if (isBlackListed == null){
isBlackListed = false;
}
}
configProperty = config.get("ITEM_BLACKLIST",
Item.itemsList[i].getUnlocalizedName(), isBlackListed);
if (configProperty.getBoolean(false)) {
addItemToBlacklist(Item.itemsList[i]);
}
}
}
示例2: init
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void init(File file)
{
Configuration config = new Configuration(file);
config.load();
/** Tooltip Sector **/
config.addCustomCategoryComment("Tooltip Options", "These are the options used to control how WikiLink displays tooltips on items when hovering over them in the inventory.");
includeTooltipsOnItems = config.get("Tooltip Options", "includeTooltipsOnItems", true).getBoolean(true);
/** Link Selection Sector **/
config.addCustomCategoryComment("Link Selection", "These are the options used to control the different links that appear inside of the WikiLink Menu.");
enableWiki = config.get("Link Selection", "enableWiki", true).getBoolean(true);
enableGoogle = config.get("Link Selection", "enableGoogle", true).getBoolean(true);
enableThread = config.get("Link Selection", "enableThread", true).getBoolean(true);
enableWebsite = config.get("Link Selection", "enableWebsite", true).getBoolean(true);
enableYoutube = config.get("Link Selection", "enableYoutube", true).getBoolean(true);
enableSummarize = config.get("Link Selection", "enableSummarize", true).getBoolean(true);
/** Link Shortener Sector **/
config.addCustomCategoryComment("Link Shortener Options", "These are the options to change how WikiLink shortens all of it's hyperlinks.");
shortenHyperlinks = config.get("Link Shortener Options", "shortenHyperlinks", true, "Use bit.ly to shorten links generated by WikiLink").getBoolean(true);
debugMode = config.get("Debug Options", "debugMode", false, "Use this during startup/runtime to get your console spammed curtosy of WikiLink :)").getBoolean(false);
config.save();
}
示例3: preInit
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
@EventHandler
public void preInit(FMLPreInitializationEvent event) {
Configuration config = new Configuration(
event.getSuggestedConfigurationFile());
config.load();
betterhopperid = config.getBlock("BetterHopper", 2800).getInt();
fasterhopperid = config.getBlock("FasterHopper", 2801).getInt();
biggerhopperid = config.getBlock("BiggerHopper", 2802).getInt();
strongerhopperid = config.getBlock("StrongerHopper", 2803).getInt();
fasterstrongerhopperid = config.getBlock("FasterStrongerHopper", 2804).getInt();
fasterbiggerhopperid = config.getBlock("FasterBiggerHopper", 2805).getInt();
biggerstrongerhopperid = config.getBlock("BiggerStrongerHopper", 2806).getInt();
fasterbiggerstrongerhopperid = config.getBlock("FasterBiggerStrongerHopper", 2807).getInt();
config.addCustomCategoryComment("Enable", "Enable/Disable");
enableBetterHopper = config.get("Enable", "BetterHopper", true).getBoolean(true);
enableFasterHopper = config.get("Enable", "FasterHopper", true).getBoolean(true);
enableBiggerHopper = config.get("Enable", "BiggerHopper", true).getBoolean(true);
enableStrongerHopper = config.get("Enable", "StrongerHopper", true).getBoolean(true);
config.save();
}
示例4: preInit
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
@PreInit
public void preInit(FMLPreInitializationEvent event) {
// TODO: Read configuration files for blocks and items
Configuration config = new Configuration(event.getSuggestedConfigurationFile());
config.load();
//someConfigFlag = Boolean.parseBoolean(config.get(ConfigCategory_Generic, "someConfig", "true").value);
config.addCustomCategoryComment(ConfigCategory_Generic, "All generic settings for questcraft");
Property someConfig = config.get(ConfigCategory_Generic, "someConfig", "true");
someConfig.comment = "Configure some configuration setting (true/false). Default true";
someConfigFlag = someConfig.getBoolean(true);
Property questInstanceItemIDProperty = config.get(ConfigCategory_Generic, "quest-instance-item-id", "5000");
questInstanceItemIDProperty.comment = "Item ID used for quest instance items";
questInstanceItemID = questInstanceItemIDProperty.getInt(5000);
config.save();
}
示例5: init
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void init(File configFileCPU) {
Configuration configCpu = new Configuration(configFileCPU);
configCpu.load();
//Blocks
Ids.actualElectrolyser = configCpu.getBlock(configCpu.CATEGORY_BLOCK, Names.Electrolyser_BlockName, Ids.baseElectrolyser).getInt();
Ids.actualFluidMercury = configCpu.getBlock(configCpu.CATEGORY_BLOCK, Names.FluidMercury_FluidName, Ids.baseFluidMercury).getInt();
//Items
Ids.actualEmptyCell = configCpu.getItem(configCpu.CATEGORY_ITEM, Names.EmptyCell_ItemName, Ids.baseEmptyCell).getInt() - 256;
Ids.actualWaterCell = configCpu.getItem(configCpu.CATEGORY_ITEM, Names.WaterCell_ItemName, Ids.baseWaterCell).getInt() - 256;
Ids.actualLavaCell = configCpu.getItem(configCpu.CATEGORY_ITEM, Names.LavaCell_ItemName, Ids.baseLavaCell).getInt() - 256;
Ids.actualMercuryBucket = configCpu.getItem(configCpu.CATEGORY_ITEM, Names.BucketMercury_FluidName, Ids.baseMercuryBucket).getInt() - 256;
Ids.actualRFReader = configCpu.getItem(configCpu.CATEGORY_ITEM, Names.RFReader_ItemName, Ids.baseRFReader).getInt();
Ids.actualElementCellT = configCpu.getItem(configCpu.CATEGORY_ITEM, Names.ElementsCell_ItemName, Ids.baseElementCell).getInt();
//RetroGen
configCpu.addCustomCategoryComment("Retrogen", "Regen Ores In An Already Present World");
SpecialConfig.RegenFluidMercury = configCpu.get("Retrogen", "Fluid Mercury", false).getBoolean(false);
//End
configCpu.save();
}
示例6: loadItemsFromConfig
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void loadItemsFromConfig(Configuration config) {
config.addCustomCategoryComment(
"ITEM_PRICES",
"Add here the item prices.\n"
+ "-1 means no price is set.\n"
+ "'item.' signifies an item, 'tile.' signifies a block.");
Property configProperty;
int price;
for (int i = 0; i < Item.itemsList.length; i++) {
if (Item.itemsList[i] == null || isBlacklisted(Item.itemsList[i]))
continue;
Integer defaultPrice = -1;
if (defPrices != null){
defaultPrice = defPrices.get(Item.itemsList[i].itemID);
if (defaultPrice == null){
defaultPrice = -1;
}
}
configProperty = config.get("ITEM_PRICES",
Item.itemsList[i].getUnlocalizedName(), defaultPrice);
price = configProperty.getInt();
if (price != -1) {
addItemToList(Item.itemsList[i], price);
}
}
}
示例7: InitializeConfig
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
private static void InitializeConfig(Configuration config)
{
if (FMLCommonHandler.instance().getSide().isServer())
{
config.addCustomCategoryComment(Strings.ServerCategory, "Options for ServerKey Mod");
KickMessage = config.get(
Strings.ServerCategory,
Strings.kickMessage,
KickMessage,
"The message to give players when validation fails.\n" +
"Use colors by &<color Code> (http://www.minecraftwiki.net/wiki/Formatting_codes)").getString();
ServerKey = config.get(
Strings.ServerCategory,
Strings.serverKey,
ServerKey,
"The key to validate. Enter any string such as a password or version").getString();
}
else
{
config.addCustomCategoryComment(Strings.ClientCategory, "Options for ServerKey Mod for the client");
ServerKey = config.get(
Strings.ClientCategory,
Strings.serverKey,
ServerKey,
"The key to validate. Enter any string such as a password or version").getString();
}
}
示例8: NOConfig
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public NOConfig(File ccmFolder)
{
Configuration config = new Configuration(new File(ccmFolder, "CCM.cfg"));
/**
* CMD
*/
config.addCustomCategoryComment(CMD, "Command related settings");
override_ban = config.get(CMD, "override_ban", override_ban, "Override the ban command with our own enhanced version. Allows temp bans.").getBoolean(override_ban);
override_kill = config.get(CMD, "override_kill", override_kill, "Override the kill command with our own enhanced version. Allows killing others.").getBoolean(override_kill);
add_tps = config.get(CMD, "add_tps", add_tps, "Add a tps command, usable for all users.").getBoolean(override_ban);
add_tpx = config.get(CMD, "add_tpx", add_tpx, "Add a tpx command to teleport between dims.").getBoolean(override_kill);
/**
* TWEAKS
*/
config.addCustomCategoryComment(TWEAKS, "Tweaks");
worldFiller = config.get(TWEAKS, "worldFiller", worldFiller, "Enable the world filler.").getBoolean(worldFiller);
dungeonMaster = config.get(TWEAKS, "dungeonMaster", dungeonMaster, "Enable the dungeon master, see separate config.").getBoolean(dungeonMaster);
fuelEdits = config.get(TWEAKS, "fuelEdits", fuelEdits, "Allows you to add fuels to the fuel registry. Fueltime is in ticks. Use itemID:metadate:fueltime or itemID:fueltime or oredictEntry:fueltime").getStringList();
oreDictionaryFixes = config.get(TWEAKS, "oreDictionaryFixes", oreDictionaryFixes, "Unifies all recipe outputs, see this config file for the whitelist.").getBoolean(oreDictionaryFixes);
oreDictionaryFixesWhiteList = config.get(TWEAKS, "oreDictionaryFixesWhiteList", oreDictionaryFixesWhiteList, "Whitelist for oreDictionaryFixes, use . for a partial match. (aka ingot. will macht all ingots).").getStringList();
/**
* CLIENT
*/
config.addCustomCategoryComment(CLIENT, "Client only settings");
noRainNoise = config.get(CLIENT, "noRainNoise", noRainNoise, "Stops the rain sounds from playing.").getBoolean(noRainNoise);
doVersionChecking = config.get(CLIENT, "doVersionChecking",doVersionChecking, "Do version checking on ALL N-O dependant mods").getBoolean(doVersionChecking);
config.save();
}
示例9: postInit
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void postInit(Configuration physicsRuleConfig) {
/* Setup a default value for all blocks */
setupDefaultPhysicsRules();
/* Initialize the physics-rules file */
String cat = "physics";
physicsRuleConfig.addCustomCategoryComment(cat, "All entries in here modify the rules for physics blocks");
/*
* For each block, if it exists in the config file use it otherwise add the
* default value
*/
WorkerPhysicsSweep.maxChunkDist = physicsRuleConfig.get(cat, "0-maxDistanceForPhysics", "" + WorkerPhysicsSweep.maxChunkDist,
"Radius around player in which physics are computed", Property.Type.INTEGER).getInt(WorkerPhysicsSweep.maxChunkDist);
elasticStrengthConstant = physicsRuleConfig.get(cat, "0-elasticStrengthConstant", "" + elasticStrengthConstant,
"only change this if you know what you do, it effects the total time before physics kick in", Property.Type.INTEGER).getInt(elasticStrengthConstant);
physicsRuleConfig.get(cat, "1-example-do-full", "true",
"If true, the full physics is run for this type of blocks, if false the simplified physics may still be applied", Property.Type.BOOLEAN);
physicsRuleConfig
.get(
cat,
"1-example-do-simplified",
"0",
"Integer order of execution of simplified physics. 0 disables simplified physics. Lower numbers can support higher numbers (but never blocks of full-physics). See leaves and vines for example",
Property.Type.INTEGER);
physicsRuleConfig.get(cat, "1-example-is-rope", "false", "Used only for blocks using simplified physics. Prevents them supporting blocks upwards.");
physicsRuleConfig.get(cat, "1-example-is-fragile", "true", "If true, the block will break (like glass) when falling", Property.Type.BOOLEAN);
physicsRuleConfig.get(cat, "1-example-strength", "16",
"Strength of block, must be less than elasticStrenghtConstant. Typical values 5 - 30 times the weight of the block.", Property.Type.INTEGER);
physicsRuleConfig.get(cat, "1-example-weight", "4", "Weight of this block, typical values 1 - 16", Property.Type.INTEGER);
physicsRuleConfig.get(cat, "1-example-is-sink", "false", "Sinks for forces that prevents all connected blocks from falling", Property.Type.BOOLEAN);
physicsRuleConfig.get(cat, "2-start-of-rules", "", "Here comes the rules for each block in the game", Property.Type.STRING);
for (int i = 0; i < 4096; i++) {
Block b = Block.blocksList[i];
if (i == 0 || b == null || b.blockID == 0) continue;
String name = b.getUnlocalizedName().replace("tile.", "");
if (i == Block.cobblestone.blockID) name = "cobbleStone";
if (i == Block.stoneBrick.blockID) name = "stoneBrick";
SolidBlockPhysicsRules.blockDoPhysics[i] = physicsRuleConfig.get(cat, name + "-do-full", SolidBlockPhysicsRules.blockDoPhysics[i] ? "true" : "false",
null, Property.Type.BOOLEAN).getBoolean(SolidBlockPhysicsRules.blockDoPhysics[i]);
if (!SolidBlockPhysicsRules.blockDoPhysics[i]) {
SolidBlockPhysicsRules.blockDoSimplePhysics[i] = physicsRuleConfig.get(cat, name + "-do-simplified",
"" + SolidBlockPhysicsRules.blockDoSimplePhysics[i], null, Property.Type.INTEGER).getInt(SolidBlockPhysicsRules.blockDoSimplePhysics[i]);
blockDoRopePhysics[i] = physicsRuleConfig.get(cat, name + "-is-rope", blockDoRopePhysics[i] ? "true" : "false", null, Property.Type.BOOLEAN)
.getBoolean(SolidBlockPhysicsRules.blockDoRopePhysics[i]);
}
if (SolidBlockPhysicsRules.blockDoPhysics[i] || SolidBlockPhysicsRules.blockDoSimplePhysics[i] != 0) {
blockIsFragile[i] = physicsRuleConfig.get(cat, name + "-is-fragile", blockIsFragile[i] ? "true" : "false", null, Property.Type.BOOLEAN).getBoolean(
blockIsFragile[i]);
blockStrength[i] = physicsRuleConfig.get(cat, name + "-strength", "" + blockStrength[i], null, Property.Type.INTEGER).getInt(blockStrength[i]);
blockWeight[i] = physicsRuleConfig.get(cat, name + "-weight", "" + blockWeight[i], null, Property.Type.INTEGER).getInt(blockWeight[i]);
blockIsSink[i] = physicsRuleConfig.get(cat, name + "-is-sink", blockIsSink[i] ? "true" : "false", null, Property.Type.BOOLEAN).getBoolean(
SolidBlockPhysicsRules.blockDoPhysics[i]);
}
}
blockIsSink[FysiksFun.settings.blockSupportBlockDefaultID] = true;
}
示例10: preInit
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void preInit(File file)
{
config = new Configuration(file);
config.load();
//comment in config file
config.addCustomCategoryComment(Configuration.CATEGORY_GENERAL, "Read the manual.txt to learn how to add a new villager and new trades to the game (ints in the CFGVillager.zip file).\nidBase starts at 9, set it higher if there are more than 3 other mods adding new Villagers.\namount regulates the amount of new types of villagers you want to add.");
//first Villagers id from wich this mods starts adding them
idBase = config.get(Configuration.CATEGORY_GENERAL, "idBase", 9).getInt();
//amount of new villager types
int amount = config.get(Configuration.CATEGORY_GENERAL, "VillagerAmount", 0).getInt();
//initiates the trades array
trades = new String[amount][][];
for( int i = 1; i <= amount; i++)
{
//the categorys name
String category = "Villager " + Integer.toString(i) +" trades";
//gives the amount of trades
int tradeCount = config.get(category, "HowManyTrades", 1).getInt();
//default trade value
String def[] = {"0001-1-0","0001-0-0","0001-1-0"};
String tradePackages [][] = new String[tradeCount][];
for(int j = 0; j < tradeCount; j++)
{
tradePackages [j] = config.get(category, "trade-"+ Integer.toString(j+1) , def).getStringList();
}
trades[i-1]= tradePackages;
}
countVillagers = amount;
config.save();
}
示例11: init
import net.minecraftforge.common.Configuration; //導入方法依賴的package包/類
public static void init(File configFile) {
Configuration config = new Configuration(configFile);
config.load();
//Blocks
Ids.actualForge = config.getBlock(config.CATEGORY_BLOCK, Names.Forge_BlockName, Ids.baseForge).getInt();
Ids.actualFeatherBlock = config.getBlock(config.CATEGORY_BLOCK, Names.FeatherBlock_BlockName, Ids.baseFeatherBlock).getInt();
Ids.actualMagnetBlock = config.getBlock(config.CATEGORY_BLOCK, Names.MagnetBlock_BlockName, Ids.baseMagnetBlock).getInt();
Ids.actualAirMomentumBlockPlusZ = config.getBlock(config.CATEGORY_BLOCK, Names.AirMomentumBlockPlusZ_BlockName, Ids.baseAirMomentumBlockPlusZ).getInt();
Ids.actualAirMomentumBlockMinusZ = config.getBlock(config.CATEGORY_BLOCK, Names.AirMomentumBlockMinusZ_BlockName, Ids.baseAirMomentumBlockMinusZ).getInt();
Ids.actualAirMomentumBlockPlusX = config.getBlock(config.CATEGORY_BLOCK, Names.AirMomentumBlockPlusX_BlockName, Ids.baseAirMomentumBlockPlusX).getInt();
Ids.actualAirMomentumBlockMinusX = config.getBlock(config.CATEGORY_BLOCK, Names.AirMomentumBlockMinusX_BlockName, Ids.baseAirMomentumBlockMinusX).getInt();
Ids.actualShieldBlock = config.getBlock(config.CATEGORY_BLOCK, Names.ShieldBlocks, Ids.baseShieldBlock).getInt();
Ids.actualShieldBlockU = config.getBlock(config.CATEGORY_BLOCK, Names.ShieldBlocks + "_Unbreakable", Ids.baseShieldBlockU).getInt();
Ids.actualAirBlockLight = config.getBlock(config.CATEGORY_BLOCK, Names.AirBlockLight_BlockName, Ids.baseAirBlockLight).getInt();
Ids.actualUser = config.getBlock(config.CATEGORY_BLOCK, Names.Buffer_BlockName, Ids.baseUser).getInt();
Ids.actualLapidemMagicaOre = config.getBlock(config.CATEGORY_BLOCK, Names.LapidemMagicaOre_BlockName, Ids.baseLapidemMagicaOre).getInt();
Ids.actualItemInserter = config.getBlock(config.CATEGORY_BLOCK, Names.ItemInserter_BlockName, Ids.baseItemInserter).getInt();
Ids.actualSpecificItemInserter = config.getBlock(config.CATEGORY_BLOCK, Names.SpecificItemInserter_BlockName, Ids.baseSpecificItemInserter).getInt();
Ids.actualVacuumChest = config.getBlock(config.CATEGORY_BLOCK, Names.VacuumChest_BlockName, Ids.baseVacuumChest).getInt();
Ids.actualRitualStone = config.getBlock(config.CATEGORY_BLOCK, Names.RitualStone_BlockName, Ids.baseRitualStone).getInt();
Ids.actualReinforcedRitualStone = config.getBlock(config.CATEGORY_BLOCK, Names.ReinforcedRitualStone_BlockName, Ids.baseReinforcedRitualStone).getInt();
Ids.actualMainRitualStone = config.getBlock(config.CATEGORY_BLOCK, Names.MainRitualStone_BlockName, Ids.baseMainRitualStone).getInt();
Ids.actualPlayerLinkedBlock = config.getBlock(config.CATEGORY_BLOCK, Names.PlayerLinkedBlock_BlockName, Ids.basePlayerLinkedBlock).getInt();
//Items
Ids.actualDimensionalLife = config.getItem(config.CATEGORY_ITEM, Names.DimensionalLife_ItemName, Ids.baseDimensionalLife).getInt() - 256;
Ids.actualSacrificer = config.getItem(config.CATEGORY_ITEM, Names.Sacrificer_ItemName, Ids.baseSacrificer).getInt() - 256;
Ids.actualJarOfLife = config.getItem(config.CATEGORY_ITEM, Names.JarOfLife_ItemName, Ids.baseJarOfLife).getInt() - 256;
Ids.actualRune = config.getItem(config.CATEGORY_ITEM, Names.Rune_ItemName, Ids.baseRune).getInt() - 256;
Ids.actualRuneWater = config.getItem(config.CATEGORY_ITEM, Names.RuneWater_ItemName, Ids.baseRuneWater).getInt() - 256;
Ids.actualRuneLava = config.getItem(config.CATEGORY_ITEM, Names.RuneLava_ItemName, Ids.baseRuneLava).getInt() - 256;
Ids.actualRuneEarth = config.getItem(config.CATEGORY_ITEM, Names.RuneEarth_ItemName, Ids.baseRuneEarth).getInt() - 256;
Ids.actualRuneDeath = config.getItem(config.CATEGORY_ITEM, Names.RuneDeath_ItemName, Ids.baseRuneDeath).getInt() - 256;
Ids.actualRuneLife = config.getItem(config.CATEGORY_ITEM, Names.RuneLife_ItemName, Ids.baseRuneLife).getInt() - 256;
Ids.actualRuneAir = config.getItem(config.CATEGORY_ITEM, Names.RuneAir_ItemName, Ids.baseRuneAir).getInt() - 256;
Ids.actualRuneLight = config.getItem(config.CATEGORY_ITEM, Names.RuneLight_ItemName, Ids.baseRuneLight).getInt() - 256;
Ids.actualRuneObscurous = config.getItem(config.CATEGORY_ITEM, Names.RuneObscurous_ItemName, Ids.baseRuneObscurous).getInt() - 256;
Ids.actualRuneChaos_Meta = config.getItem(config.CATEGORY_ITEM, Names.RunesChaos_MetaItemName, Ids.baseRuneChaos_Meta).getInt() - 256;
Ids.actualRuneAssembler = config.getItem(config.CATEGORY_ITEM, Names.RuneAssembler_ItemName, Ids.baseRuneAssembler).getInt() - 256;
Ids.actualSpeedyBread = config.getItem(config.CATEGORY_ITEM, Names.SpeedyBread_ItemName, Ids.baseSpeedyBread).getInt() - 256;
Ids.actualShieldAmulet = config.getItem(config.CATEGORY_ITEM, Names.ShieldAmulet_ItemName, Ids.baseShieldAmulet).getInt() - 256;
Ids.actualMovementAmulet = config.getItem(config.CATEGORY_ITEM, Names.MovementAmulet_MetaItemName[0], Ids.baseMovementAmulet).getInt() - 256;
Ids.actualSmoothCutter = config.getItem(config.CATEGORY_ITEM, Names.SmoothCutter_ItemName, Ids.baseSmoothCutter).getInt() - 256;
Ids.actualLapidemMagica = config.getItem(config.CATEGORY_ITEM, Names.LapidemMagica_ItemName, Ids.baseLapidemMagica).getInt() - 256;
Ids.actualSpeedUpgrade = config.getItem(config.CATEGORY_ITEM, Names.SpeedUpgrade_ItemName, Ids.baseSpeedUpgrade).getInt() - 256;
Ids.actualPlayerLink = config.getItem(config.CATEGORY_ITEM, Names.PlayerLink_ItemName, Ids.basePlayerLink).getInt() - 256;
Ids.actualInformationReader = config.getItem(config.CATEGORY_ITEM, Names.InformationReader_ItemName, Ids.baseInformationReader).getInt() - 256;
Ids.actualItemSpell = config.getItem(config.CATEGORY_ITEM, Names.ItemSpell_ItemName, Ids.baseItemSpell).getInt() - 256;
//RetroGen
config.addCustomCategoryComment("Retrogen", "Regen Ores In An Already Present World");
SpecialConfig.RegenLapidemMagica = config.get("Retrogen", "Lapidem Magica Ore", false).getBoolean(false);
//End
config.save();
}