Mineuniverse
Log in Register
Mods

DIST x DIFF [DxD]

Difficulty is a function of distance. The further, the 'worser'!!!
by wagenboi
Download Claim this project
635 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Utility & QoL

DIST × DIFF

Distance x Difficulty Scaling for Minecraft 1.20.1 (Forge) & 1.21.1 (NeoForge)

DIST × DIFF is a dynamic world-scaling difficulty system that increases danger the farther a player travels from world spawn. Instead of relying solely on vanilla difficulty, the mod introduces a continuously increasing challenge curve based on distance, affecting both enemy strength and enemy population density. Designed for players who want exploration to feel progressively dangerous, and for modpacks that aim to create a true "concentric difficulty ring" world layout (or if you dont want people to escape spawn... 😡😡😡)

Core Features

Every hostile mob gains increased maximum health the farther it spawns from world spawn. The scaling function is linear and predictable:

Multiplier = 1 + K × distance

This means mobs near spawn behave normally, while thousands of blocks out grow significantly stronger.

Player Damage Scaling

Hostile attacks scale in severity with distance. Only specific damage types are modified:

  • Mob melee attacks
  • Magic damage
  • Fire, burning, lava

Unscaled:

  • Fall damage
  • Explosion damage
  • Drowning
  • Starvation
  • PvP damage

This creates a natural survival curve without affecting core gameplay hazards unrelated to enemy combat, although explosions from creepers are quite weak considering... blame minecraft on that one!

Distance-Based Mob Duplication

Hostile mobs may spawn with additional duplicates depending on distance from world spawn. The further out a mob appears,s the higher chance it spawns with allies. Each duplication uses the mob's natural spawn initialization so vanilla AI and stats remain functional. 

Duplicate mobs:

  • Never duplicate themselves again
  • Retain normal behavioral patterns
  • Spawn around the original in a small radius
  • Obey a global safety cap defined in the config

This system increases enemy density without dramatically altering performance.

Configuration

The mod includes a configurable parameter accessible through the standard config file located in the config directory as:

dxd-common.toml

Available setting:

  • safeDistance

Which defines the distance at which difficulty effectively doubles (or quadruples on how you look at it!!!). The value is transformed internally into the slope constant used in all scaling formulas

Example:

safeDistance = 2500 [DEFAULT]

this produced a scaling consstant K = 1 / 2500 = 0.0004

The allowed range for safeDistance is 1 to 30,000,000. Low values increase difficulty extremely quickly, while high values create a very gradual difficulty curve across the world.

Ideal Use Cases

  • Progressive exploration-based modpacks
  • Worlds with large continents or long-distance travel
  • Survival servers with tiered exploration zones
  • Packs seeking alternative difficulty progression without custom mobs

DIST × DIFF provides a simple but powerful ssystem for creating a living, expanding threat landscape that scales naturally alongside the player's journey.

 

dxd-1.1-neoforge-1.21.1.jar
MC 1.21.1, NeoForge, Server
Release 2025-12-02 Get
dxd-1.0-forge-1.20.1.jar
MC 1.20.1, Forge, Server
Release 2025-12-01 Get

More from wagenboi

Spidertron
680
Real Time Chemistry [Crafting Patch]
659
Potionstacking
2,845
Simple Quarries
2,238
Queued Craft [Recipe Timers]
20
Real Time Chemistry 2 [RTC2]
1,947

You Might Also Like

Liberty's Villagers
Quality of Life and AI improvements for Villagers
9,968,428
No More Pop-ups
A Minecraft mod to remove in-game pop-ups
996,708
BetterRandomSourceConcurrencyCrash
Improved logging of crashes caused by mods accessing RandomSources from the wrong thread
99,371
Exit Confirmation
Often accidentally closed Minecraft? This mod might help!
99,067
NoDynamicFps
Adds an option to disable Vanilla's Dynamic FPS implementation
99,004
Immersive Crafting
Adds crafting recipes to immersive portals
9,998