← Назад к ресурсам

Daily Boss - More Config

Add more config for Daily Boss

Modrinth adventure game-mechanics management

Описание

# DBMBC (Daily Boss More Boss Config) **Requires [Daily Boss](https://modrinth.com/mod/daily-boss) to work.** ## ⚠️ Important Information > [!IMPORTANT] > **THIS VERSION ADDS CONFIGURATION ONLY.** It does **NOT** include any boss entities. It allows you to configure bosses provided by datapacks. > > 🛑 **DO NOT USE WITH [DAILY BOSS - MORE BOSSES](https://modrinth.com/mod/daily-boss-more-bosses)** 🛑 They share the same logic but are separated to give you granular control over your modbucket. Using both will cause conflicts. DBMBC adds support for bosses from multiple boss-focused mods and lets you decide **which ones** appear in the rotation, and **where** (Dimension / Biome). Configuration is automatic and handled through a single file generated on first launch: `config/dailyboss_spawn_rules.json` *** ## ⚙️ Configuration ### Global Settings Control the default behavior for the mod. ```json "global_settings": { "default_enabled": true, "auto_add_new_bosses": true, "require_biome_match": false } ``` * **`default_enabled`**: New or unconfigured bosses are allowed by default. * **`auto_add_new_bosses`**: Newly detected boss IDs are automatically appended to the config file. * **`require_biome_match`**: * `true`: Boss spawns only if **both** Dimension AND Biome match the rules. * `false`: Boss spawns if **either** checks pass (or if lists are empty). ### Per-Boss Rules Configure specific rules for each boss ID. ```json "boss_rules": { "cataclysm:ignis": { "enabled": true, "dimensions": ["minecraft:the_nether"], "biomes": ["minecraft:nether_wastes"], "blacklist_mode": false } } ``` * **`enabled`**: Force inclusion (`true`) or exclusion (`false`) from the rotation. * **`dimensions` / `biomes`**: Lists of Allowed (Whitelist) or Forbidden (Blacklist) locations. * **`blacklist_mode`**: * `false` (Whitelist): The location **must** match at least one entry in the lists. * `true` (Blacklist): The location **must not** match any entry. ### 📋 Evaluation Logic 1. **Boss Existence**: The boss entity must be registered in the game. 2. **Enabled Check**: If `enabled = false`, the boss is skipped immediately. 3. **Blacklist Mode**: * If `false` (Whitelist): At least one condition must match. * If `true` (Blacklist): No conditions may match. 4. **Strictness**: * If `require_biome_match = true`, **both** Dimension and Biome checks must pass. ### Examples **1. Disable a specific boss completely:** ```json "cataclysm:maledictus": { "enabled": false } ``` _(Note: Removing a boss entry restores it to global defaults. Explicitly setting `false` ensures it stays disabled.)_ **2. Allow only in Badlands:** ```json "dungeons_and_combat:sunleia": { "enabled": true, "biomes": ["minecraft:badlands"], "blacklist_mode": false } ``` **3. Allow anywhere EXCEPT the Nether:** ```json "cataclysm:ancient_remnant": { "enabled": true, "dimensions": ["minecraft:the_nether"], "blacklist_mode": true } ``` *** ## 💎 Loot & Progression Every boss definition can map to high-value loot tables (e.g., Bastion Treasure) so victories feel meaningful without breaking early progression. You can customize loot per boss in the JSON config **without editing datapacks**: ```json "loot": { "loot_tables": [ "minecraft:chests/bastion_treasure", "yourpack:custom/ignis_rewards" ], "append_defaults": false } ``` * **`loot_tables`**: A list of loot tables to generate when the boss is defeated. (Replaces default loot). * **`append_defaults`**: * `true`: **Adds** your custom loot on top of the original drops. * `false`: **Replaces** the original loot entirely with your selection. * _Leaving the `loot` section empty preserves the original datapack loot._ This layered system ensures non-destructive editing: `Addon Loot` → `(Optional) Appended Defaults` → `Underlying Datapack Rewards` *** [![Discord](https://img.shields.io/badge/Discord-Join_Us-7289da?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/sZ64CgX3JN)