{
  "TECHNICAL": {
    "VERSION_DO_NOT_EDIT": 1.5,
    "FORCE_RESET": false
  },

  // This config file uses a custom defined parser. That's why there are comments here, they wouldn't be valid in any other .json file.
  //    To add a comment yourself, just start a line with // like I did here
  //    (although their main use is explaining you what the entries do)

  // CATEGORY: ENCHANTING
  "enchantments": {
    "enchant_limiter": {
      // Limits how many enchantments can be added to an item. Set it to -1 to disable the limiter,
      //    and to 0 to disable enchanting as a whole
      "default": 3,
      // Should curses add enchantment slots instead of using them
      "curses_add_slots": true,
      // Override modes include "relative" and "absolute".
      //    If set to "relative", the overrides defined below will be added onto the default limit.
      //    If set to "absolute", they'll replace the default limits.
      "override_mode": "relative",
      // Overrides to the amount of enchantments an item can have. Must be of the form "modid:itemid": value
      "overrides": {
        "minecraft:golden_shovel": 2,
        "minecraft:golden_pickaxe": 2,
        "minecraft:golden_axe": 2,
        "minecraft:golden_hoe": 2,
        "minecraft:golden_sword": 2,
        "minecraft:golden_helmet": 2,
        "minecraft:golden_chestplate": 2,
        "minecraft:golden_leggings": 2,
        "minecraft:golden_boots": 2,
        "sortilege:golden_staff": 2,

        "miningmaster:ultima_sword": 1,
        "miningmaster:ultima_pickaxe": 1
      },
      // Should an item's maximum enchantments be displayed even when it is not enchanted
      "always_show_limit": true,
      "limitite": {
        // Should Limitite have an enchantment glint
        "is_foil": true,
        // Should Limitite spawn in rare structures' chests
        "generate_as_loot": true,
        // How many Limitites can be applied to a single item
        "max_limit_break": 3
      }
    },
    // Allow using Enchanted Books on items in inventory
    "allow_inventory_enchanting": false,
    // Should the Magic Protection enchantment be compatible with vanilla Protection enchantments
    "magic_protection_protection_compatibility": false
  },

  // CATEGORY: EXPERIENCE
  "experience": {
    "witch_hat": {
      // Chance for the Witch Hat to drop when killing a Witch. Set to 0 to disable the drop
      "drop_chance": 0.1,
      // How many extra experience points should drop when killing a monster with the Witch Hat equipped
      "xp_bonus": 3
    },
    // Should enchanting in an enchanting table cost more xp than the default 1 2 3 levels
    "increased_enchant_costs": true,
    // If the above is true, defines the new costs to replace 1 2 3
    "costs": [1, 3, 7],
    // If increased_enchant_costs is true, defines the required xp levels to enchants
    "needed": [5, 10, 15],
    // Should Anvils never cost experience
    "no_xp_anvil": true,
    // Maximum experience level a player can have before it can't increase anymore. Set to -1 to disable the limit,
    //    and to 0 to disable experience
    "level_cap": 100,
    // How much xp points are needed to level up, in place of the exponential formula vanilla has.
    //    Set to 0 or lower to use vanilla's formula
    "linear_xp_requirement": 50,
    // Should monsters have a chance to give a bunch of extra experience points when killed
    "xp_bounty": {
      // Should the sortilege:bounties tag act as a whitelist instead of a blacklist. It defines which mobs can drop bounties
      "tag_is_whitelist": false,
      // Amount of xp points bounties drop
      "value": 20,
      // Chance for a bounty to happen
      "chance": 0.05
    },

    // Locks certain recipes behind experience levels. Each entry must be of the form "modid:recipeid": minimalxplevel
    //    The default config locks the crafting of Ender Eyes behind level 30, as an example
    "xp_requirements": {
      "minecraft:ender_eye": 30
    }
  },

  // CATEGORY: DEATH
  "death": {
    // Enable a balanced keepInventory only for experience
    "xp_keeping": {
      "enable": true,
      // Should players killed by players drop their xp or give it to their assassin directly
      "allow_stealing_from_players": true,
      // Ratio of xp kept on death
      "self_ratio": 0.3,
      // Ratio of xp stolen by the attacker, and dropped back when it's killed
      "attacker_ratio": 0.6,
      // Ratio of xp dropped on the ground on death
      "drop_ratio": 0.1
    },
    // Keep equipped items (armor and hotbar) on death
    "keep_equipped": false,
    // Should the Soulbound enchantment be removed on use
    "consume_soulbound": true,
    // Display death coordinates instead of the score from vanilla on the death screen
    "show_coordinates_on_death": true
  },

  // CATEGORY: BREWING
  "brewing": {
    // A list of potion effects for which Antidotes don't get registered
    "antidote_blacklist": [
    ],
    "antidote_stack_size": 4
  },

  // CATEGORY: STAFFS
  "staffs": {
    // Amount of xp points needed to use a staff, if not set
    "default_xp_cost": 0,
    // Time staffs need to be held down (in ticks) before shooting, if not set
    "default_charge_time": 1,
    "entries": [
      {
        // Example entry, not loaded in game as it's only for demonstration purposes
        "example_staff": {
          // Sets the repair material and the durability if not set
          "tier": "GOLD",
          // Half hearts of damage the staff deals
          "damage": 5,
          // Maximal number of targets the staff can pierce through
          "pierce": 2,
          // Range of the staff, in half blocks
          "range": 10,
          // Durability of the staff. Defaults to tier's * 0.7
          "durability": 512,
          // Item to be used to repair the staff. Defaults to the tier's
          "repair_item": "minecraft:obsidian",
          // Amount of ticks to wait for between each shots
          "cooldown": 20,
          // Amount of ticks of casting to shoot. Defaults to default_charge_time above
          "charge_time": 1,
          // Amount of xp points needed to shoot. Defaults to default_xp_cost above
          "xp_cost": 0,
          // Custom RGB colors to be used for the staff's beam. If unset, the beam will be white unless the staff has enchantments
          "beam_color": [
            [0.5, 0, 0],
            [0, 0.5, 0],
            [0, 0, 0.5]
          ],
          // Whether the staff is resistant to fire like Netherite items. Defaults to false
          "fire_res": true,
          // Mod needed to be loaded for the staff to appear in game. Defaults to minecraft
          "dependency": "nah",
          // Commands to be run when using the staff
          "on_shoot": "/give @s minecraft:lapis_lazuli",
          "on_hit_self": "/effect give @s minecraft:regeneration",
          "on_hit_target": "/tp @s ~ ~2 ~"
        }
      },
      // Actual staffs
      {
        "wooden_staff": {
          "tier": "WOOD",
          "damage": 3,
          "pierce": 1,
          "range": 6,
          "cooldown": 15
        }
      },
      {
        "stone_staff": {
          "tier": "STONE",
          "damage": 4,
          "pierce": 1,
          "range": 8,
          "cooldown": 20
        }
      },
      {
        "iron_staff": {
          "tier": "IRON",
          "damage": 5,
          "pierce": 1,
          "range": 10,
          "cooldown": 15
        }
      },
      {
        "golden_staff": {
          "tier": "GOLD",
          "damage": 3,
          "pierce": 2,
          "range": 14,
          "cooldown": 10
        }
      },
      {
        "diamond_staff": {
          "tier": "DIAMOND",
          "damage": 5,
          "pierce": 2,
          "range": 12,
          "cooldown": 15
        }
      },
      {
        "netherite_staff": {
          "tier": "NETHERITE",
          "damage": 6,
          "pierce": 3,
          "range": 16,
          "fire_resistant": true,
          "cooldown": 20
        }
      }
    ]
  }
}