Examples of BooleanSetting


Examples of net.mcft.copy.betterstorage.config.setting.BooleanSetting

  }
 
  @Override
  public void setupConfig() {
   
    new BooleanSetting(BetterStorage.globalConfig, thaumcraftBackpackEnabled, true);
    new BooleanSetting(BetterStorage.globalConfig, thaumiumChestEnabled, true);
   
  }
View Full Code Here

Examples of net.mcft.copy.betterstorage.config.setting.BooleanSetting

 
  public GlobalConfig(File file) {
    super(file);
   
    // Tiles
    new BooleanSetting(this, crateEnabled, true, "tile.betterstorage.crate.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, reinforcedChestEnabled, true, "tile.betterstorage.reinforcedChest.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, lockerEnabled, true, "tile.betterstorage.locker.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, armorStandEnabled, true, "tile.betterstorage.armorStand.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, backpackEnabled, true, "tile.betterstorage.backpack.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, enderBackpackEnabled, true, "tile.betterstorage.enderBackpack.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardBoxEnabled, true, "tile.betterstorage.cardboardBox.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, reinforcedLockerEnabled, true, "tile.betterstorage.reinforcedLocker.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, craftingStationEnabled, true, "tile.betterstorage.craftingStation.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, flintBlockEnabled, true, "tile.betterstorage.flintBlock.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, lockableDoorEnabled, true, "tile.betterstorage.lockableDoor.name").setHasComment(false).setRequiresMcRestart(true);
   
    // Items
    new BooleanSetting(this, keyEnabled, true, "item.betterstorage.key.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, lockEnabled, true, "item.betterstorage.lock.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, keyringEnabled, true, "item.betterstorage.keyring.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardSheetEnabled, true, "item.betterstorage.cardboardSheet.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, masterKeyEnabled, true, "item.betterstorage.masterKey.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, drinkingHelmetEnabled, true, "item.betterstorage.drinkingHelmet.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, slimeBucketEnabled, true, "item.betterstorage.bucketSlime.name").setHasComment(false).setRequiresMcRestart(true);
   
    // Cardboard items
    new BooleanSetting(this, cardboardHelmetEnabled, true, "item.betterstorage.cardboardHelmet.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardChestplateEnabled, true, "item.betterstorage.cardboardChestplate.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardLeggingsEnabled, true, "item.betterstorage.cardboardLeggings.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardBootsEnabled, true, "item.betterstorage.cardboardBoots.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardSwordEnabled, true, "item.betterstorage.cardboardSword.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardPickaxeEnabled, true, "item.betterstorage.cardboardPickaxe.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardShovelEnabled, true, "item.betterstorage.cardboardShovel.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardAxeEnabled, true, "item.betterstorage.cardboardAxe.name").setHasComment(false).setRequiresMcRestart(true);
    new BooleanSetting(this, cardboardHoeEnabled, true, "item.betterstorage.cardboardHoe.name").setHasComment(false).setRequiresMcRestart(true);
   
    // Enchantments
    new EnchantmentIdSetting(this, enchUnlockingId, 170, "enchantment.betterstorage.key.unlocking");
    new EnchantmentIdSetting(this, enchLockpickingId, 171, "enchantment.betterstorage.key.lockpicking");
    new EnchantmentIdSetting(this, enchMorphingId, 172, "enchantment.betterstorage.key.morphing");
    new EnchantmentIdSetting(this, enchPersistanceId, 173, "enchantment.betterstorage.lock.persistance");
    new EnchantmentIdSetting(this, enchSecurityId, 174, "enchantment.betterstorage.lock.security");
    new EnchantmentIdSetting(this, enchShockId, 175, "enchantment.betterstorage.lock.shock");
    new EnchantmentIdSetting(this, enchTriggerId, 176, "enchantment.betterstorage.lock.trigger");
   
    // Reinforced chest settings
    new IntegerSetting(this, reinforcedColumns, 13).setValidValues(9, 11, 13).setComment(
        "Number of columns in reinforced chests and lockers. Valid values are 9, 11 and 13.");
   
    // Crate settings
    enableCrateInventoryInterfaceSetting =
    new BooleanSetting(this, enableCrateInventoryInterface, true).setComment(
        "If enabled, exposes a special block view of crates, so items can be moved in and out by automated systems.");
    enableCrateStorageInterfaceSetting =
    new BooleanSetting(this, enableCrateStorageInterface, true).setComment(
        "If disabled, prevents mods from using storage crates' special storage interface (like Applied Energistics).");
    new BooleanSetting(this, crateDebugMessages).setComment(
        "If enabled, logs crate related debug messages (like them saving).");
   
    // Backpack settings
    new BooleanSetting(this, backpackChestplate, true).setSynced().setComment(
        "If disabled, backpacks don't take up the player's chestplate armor slot.");
    new IntegerSetting(this, backpackRows, 4).setValidRange(1, 6).setComment(
        "Number of rows in backpacks. Valid values are 1 to 6.");
    new BooleanSetting(this, enableBackpackOpen, false).setSynced().setComment(
        "Allows equipped backpacks to be opened by pressing a key.");
    new BooleanSetting(this, enableBackpackInteraction, true).setComment(
        "Allows equipped backpacks to be opened by other players by right clicking them.");
    new BooleanSetting(this, dropBackpackOnDeath, true).setComment(
        "If enabled, drops backpacks as block instead of spilling the items around.");
   
    // Cardboard box settings
    new IntegerSetting(this, cardboardBoxRows, 1).setValidRange(1, 3).setComment(
        "Number of rows in cardboard boxes. Valid values are 1 to 3.");
    new IntegerSetting(this, cardboardBoxUses, 4).setValidRange(0, Integer.MAX_VALUE).setSynced().setComment(
        "Number of times cardboard boxes can be picked up with items before they break. Use 0 for infinite uses.");
    new BooleanSetting(this, cardboardBoxShowContents, true).setComment(
        "If disabled, doesn't show cardboard box contents in their tooltips.");
   
    // Crafting Station settings
    enableStationAutoCraftingSetting =
    new BooleanSetting(this, enableStationAutoCrafting, false).setSynced().setComment(
        "If enabled, automated systems can pull out of crafting stations and therefore auto-craft items.");
    stationAutocraftDelaySetting =
    new IntegerSetting(this, stationAutocraftDelay, 10).setValidRange(0, Integer.MAX_VALUE).setComment(
        "Delay between recipes being autocrafted in the crafting station, in ticks. (Default: 10)");
   
    // Key / Lock settings
    new BooleanSetting(this, lockBreakable, true).setSynced().setComment(
        "If disabled, turns off the ability to break locks off of locked containers using tools.");
   
    // Miscellaneous settings
    new BooleanSetting(this, enableHelpTooltips, true).setComment(
        "If enabled, shows tooltips on some items to help players who're new to the mod.");
    new BooleanSetting(this, enableWarningMessages, true).setComment(
        "If disabled, prevents certain warning messages from being logged to the console.");
 
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.