All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Mob Dice Attributes

Mob Dice Attributes

by gottsch • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Mob Dice Attributes

Every mob. Every spawn. A fresh roll.

Mob Dice Attributes replaces Minecraft's fixed mob stats with tabletop RPG dice rolls. A zombie isn't always 20 HP — it might roll 13 or 27. A skeleton might track you from twice its normal range, or barely notice you across the room. Every encounter is different.

Balance is preserved by design. The dice formula is constructed so the average rolled value always equals the vanilla value. Mobs aren't globally buffed or nerfed — they vary.


⚔️ Core Features

🎲 Dice Rolling for All Mob Attributes

Eight attributes are rolled on spawn using the xdn + b formula:

  • Max Health, Movement Speed, Attack Damage, Knockback
  • Armor, Armor Toughness, Attack Speed, Follow Range

Die type is auto-selected per mob based on its vanilla value (low-HP mobs use d6, bosses use d20). Everything is configurable per attribute.

🏅 Rarity Tiers

Every mob spawn draws from a weighted rarity pool — like an RPG loot table, but for mobs.

Tier Default chance Effect
Common 60% Baseline rolls
Uncommon 25% Slightly above average
Rare 10% Blue name, 2× XP, bonus loot
Legendary 5% Purple name, 5× XP, 3× bonus loot, all stats boosted

Tier weights and profiles are fully customizable via datapack.

⭐ Elite Mobs

Mobs that roll significantly above their average HP are automatically tagged as Elite — given a custom name and (optionally) a visible name tag. Threshold and prefix are configurable.

💰 Loot & XP Scaling

Above-average mobs drop more. Configure the XP multiplier and bonus loot rolls globally, or set them per rarity tier profile. Rare mobs are worth hunting.

🪝 Spawn Hooks

Map specific spawn contexts to profiles. Always give raid mobs a legendary profile. Force spawner mobs to be rare. Or leave it to the rarity draw. Your call.

Valid contexts: natural, spawner, chunk_generation, structure, breeding, mob_summoned, jockey, event, conversion, reinforcement, triggered, bucket, spawn_egg, command, patrol


🗂️ Datapack Customization

Everything is driven by datapacks under data/mobdiceattribs/:

Folder Purpose
spawn_profiles/ Named stat bundles (name, color, XP, loot, dice overrides)
rarity_tiers/ Weighted pool of profiles drawn on every spawn
spawn_hooks/ Context → profile mappings
mob_overrides/ Per-mob or per-tag dice overrides
dimension_rules/ Enable/disable rolling or scale stats per dimension
difficulty_rules/ Scale stats per world difficulty

All reloaded live with /reload — no restart required.


🖥️ Commands

Command Description
/mda reroll <targets> Force-reroll matched entities (op level 2)
/mda inspect <target> Print current stats, HP ratio, and assigned profile

⚙️ Configuration

A full server.toml config controls every attribute independently:

  • Enable/disable per attribute
  • Auto dice selection or manual die type
  • Range factor (how swingy the rolls are)
  • Mob whitelist / blacklist
  • Distance-from-spawn health scaling (disabled by default)
  • Elite mob threshold, prefix, and name tag visibility

🔌 Compatibility

  • Server-side only — clients do not need the mod installed
  • Jade / The One Probe — custom names are visible on hover
  • Reloads on /reload — fully compatible with datapack managers

📖 Documentation

Page Link
Home Wiki
Dice Formula How xdn+b works
Spawn Profiles Profile format & fields
Rarity Tiers Weighted pool setup
Spawn Hooks Context-based profiles
Mob Overrides Per-mob dice overrides
Dimension Rules Scale by dimension
Difficulty Rules Scale by difficulty
Configuration Full config reference
Commands /mda reroll & inspect

📦 Source & Issues

GitHub

How to Install Mob Dice Attributes (Mod)

Mob Dice Attributes by gottsch is verified for Forge, Neoforge across Minecraft versions 1.18.2, 1.19.2, 1.19.3, 1.20.1, 1.21.1 (latest release: 2.0.0, file size: 91 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.18.2, 1.19.2, 1.19.3, 1.20.1, 1.21.1) and platform (Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Forge, Neoforge.
  3. Move the downloaded Mob Dice Attributes file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
7mo ago 1
1.21.1
Neoforge
7mo ago 1
1.20.1
Forge
7mo ago 1
1.19.2
Forge
last yr. 1
1.18.2
Forge
last yr. 1
1.18.2
Forge
last yr. 1
1.19.2
Forge
last yr. 1
1.19.3
Forge
last yr. 1
# Changelog for Mob Dice Attributes 1.21.1

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [2.0.0] - 2026-04-25

### ➕ Added

  • Improved Dice Algorithm:**
  • Die count (x) is now computed from the mob's vanilla attribute value and rangeFactor, then the bonus (b) absorbs the rounding error so the rolled average is always exactly equal to the vanilla value — no more systematic buff/nerf from rounding drift
  • Formula: xdn + b where b = target − x · dieAvg

  • Auto Dice Type Selection:**
  • New autoDice config option (default true) per attribute section — picks the most "natural-feeling" die for each mob automatically based on its vanilla attribute value
  • Health curve: d4 (≤6 HP) → d6 (≤15) → d8 (≤30) → d10 (≤60) → d12 (≤120) → d20
  • Speed curve: d4 (≤0.15) → d6 (≤0.25) → d8 (≤0.35) → d10
  • Damage curve: d4 (≤2) → d6 (≤5) → d8 (≤10) → d10 (≤20) → d12
  • Knockback curve: d4 (≤0.5) → d6 (≤1.0) → d8 (≤2.0) → d10
  • Set autoDice = false to revert to the global diceType fallback

  • Per-mob Datapack Overrides:**
  • Override dice / rangeFactor / bonus per mob ID or entity tag via datapack JSON files under data/<namespace>/mob_overrides/
  • Partial overrides supported — omit any field to fall through to the auto-pick or global config value
  • Tag support via # prefix (e.g. #minecraft:raiders)
  • Reloads on /reload with no restart required
  • Example file shipped in jar: data/mobdiceattribs/mob_overrides/example.json
  • Resolution order: datapack override → auto-pick → config diceType fallback

  • Dimension Filter:**
  • Rolling can be disabled or scaled per dimension via datapack JSON files under data/<namespace>/dimension_rules/
  • enable field (optional, default true) — set to false to suppress all rolling in that dimension
  • multiplier field (optional, default 1.0) — scales every attribute target before dice are rolled
  • Example file shipped in jar: data/mobdiceattribs/dimension_rules/example.json
  • Reloads on /reload

  • Difficulty Scaling:**
  • Rolling can be disabled or scaled per world difficulty via datapack JSON files under data/<namespace>/difficulty_rules/
  • Targets: "peaceful", "easy", "normal", "hard" (lowercase)
  • Multipliers stack multiplicatively with any active dimension rule multiplier
  • Example file shipped in jar: data/mobdiceattribs/difficulty_rules/example.json
  • Reloads on /reload

  • Distance-from-Spawn Health Scaling:**
  • Scales mob max health based on horizontal distance from world spawn (health only)
  • Controlled via [distanceScaling] config section — **disabled by default**
  • Config fields: enable (default false), blocksPerTier (default 1000), multiplierPerTier (default 0.1), cap (default 3.0)
  • Detailed conf
...
# Changelog for Mob Dice Attributes 1.21.1

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [1.0.0] - 2026-04-23

### ⚙️ Changed

  • Platform port: Forge 1.20.1 → NeoForge 1.21.1**
  • Build system migrated to net.neoforged.moddev (Gradle plugin)
  • @Mod class now uses constructor injection of IEventBus and ModContainer
  • Mod.EventBusSubscriber replaced with @EventBusSubscriber(bus = Bus.GAME)
  • ForgeConfigSpec replaced with ModConfigSpec throughout
  • ResourceLocation.fromNamespaceAndPath() API adopted
  • Attributes API updated: Attributes.X returns Holder<Attribute>; .value() used to reach RangedAttribute
  • GottschCore package updated: mod.gottsch.forge.gottschcore.* → mod.gottsch.neo.gottschcore.*
  • GottschCore artifact updated: gottschcore → gottschcore-neoforge
  • neoforge.mods.toml moved to src/main/templates/META-INF/ with generateModMetadata task for property substitution
  • Mod config registered directly via modContainer.registerConfig() — removed premature ModConfigEvent validation listener that caused "Cannot get config value before config is loaded" crash
  • isValidEntity() simplified to entity instanceof Monster (Enemy interface removed in 1.21)
  • Gradle wrapper pinned to 8.12.1 for compatibility with moddev 2.0.78
  • All dependencies declared side = "SERVER" — mod is server-only and clients can connect without it installed

Uses the correct fml loader version (43).
Uses the correct update url.
initial release
initial release
initial release
Mob Dice Attributes Icon
Download Mob Dice Attributes
Select game version
Select platform