ZsoltMolnarrr / DungeonDifficulty

☠️ Increase the power of enemies and rewards
https://www.curseforge.com/minecraft/mc-mods/dungeon-difficulty
GNU General Public License v3.0
4 stars 3 forks source link
attributes combat difficulty dungeon entities entity fabric fabricmc item loot minecraft minecraft-fabric minecraft-mod mod reward

Power Scale

![Java 17](https://img.shields.io/badge/Java%2017-ee9258?logo=coffeescript&logoColor=ffffff&labelColor=606060&style=flat-square) ![Environment: Server](https://img.shields.io/badge/environment-Server-1976d2?style=flat-square) [![Mod loader: Fabric]][fabric] [![Discord](https://img.shields.io/discord/973561601519149057.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2&style=flat-square)](https://discord.gg/KN9b3pjFTM)

πŸ”§ = this mod | πŸ”© = entity & loot attributes

πŸ“¦ Features

πŸ”§ Configuration

The configuration is meant to be used by modpack developers, hence no in-game (client-side) settings are available. It is a server-side only configuration, can be found at config/dungeon_difficulty_v2.json.

Regex fields in the configuration are interpreted as fully featured regex. If you are unfamiliar with regex, first make sure to learn about it (start for example here). It is recommended to test out your regex patterns using tool: regex101.com

Editing the config usually involves the steps below:

  1. Open the config file
  2. Set allow_customization to true, so your config doesn't get overridden with defaults at launch
  3. Define difficulty types (in difficulty_types array), which describe scaling of entities of looted items
  4. Assign difficulty to locations referencing a difficulty type by its name, and an arbitrary level. These can be dimension by regex, biomes by regex and structures by specific structure ID.

Check out the default configuration to see specific examples.

Config file is parsed into Config object. You can find it here. Config file is sanitized upon reloading, meaning every non-parsable data is removed.

Use the following command to refresh the config while in game: /dungeon_difficulty_config_reload