Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Scaling Mobs

Scaling Mobs

Scale hostile mob attributes over time, configure to your liking

889
9
Game Mechanics
Mobs

Compatibility

Minecraft: Java Edition

1.20.1

Platforms

Fabric

Supported environments

Server-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

coathier Member

Details

Licensed MIT
Published 8 months ago
Updated 5 months ago
DescriptionChangelogVersions

Scaling Mobs

This is a server side mod that allows for scaling of the attributes health, damage and speed. Scaling can be done through lunar cycles, distance from spawn, altitude and time.

Here's a list of the configuration options that can be found in the scalingmobs.toml file within the configuration directory.

Name Value Description
start Float (default 0) The start value of scaling
max Float (default MAX_FLOAT) The maximum value it can scale to
min Float (default 0) The minimum value it can scale to
scalingFactor "DAYS","DISTANCE_FROM_SPAWN","LUNAR_PHASE","DEPTH","HEIGHT" (default "DAYS") If scaling by "DAYS" it will increase the scaling factor/variable once per day. "DISTANCE_FROM_SPAWN" will scale by blocks from (0, 0) of where the mob spawned. (Useful to pull out a graphing calculator since it's hard to get right)
scalingType "LINEAR","EXPONENTIAL","CONSTANT" (default "LINEAR") Should it scale linearly or exponentially
increaseFactor Float (default 1.1) If scalingType is linear you can calculate final value approcimately by (start + scalingFactor * increaseFactor). If exponential then (start * increaseFactor ^ scalingFactor). If constant (increaseFactor)
startingFrom Integer (default 0) Determines when the scaling modifier start and is applied depending on the scalingFactor
activeNth Integer (default 1) A number of 3 means that the attributes will be applied every 3rd value of the scalingFactor. For scaling to be applied this number should be 1. (Do not put it to 0, that will crash the game.)
timeWhenActive "DAY","NIGHT","BOTH" (default "NIGHT") Determines when the modifier should be active, If "DAY" then it will only be applied at day time.
# This is a example config. Each comment describes what the
# setting/modifier under it does

# All health modifiers get applied on top of vanilla/default attributes
healthAddOnTopOfDefault = true

# All damage and speed modifiers will be applied from 0, without the
# vanilla attributes
damageAddOnTopOfDefault = false
speedAddOnTopOfDefault = false

# Modifiers where "timeWhenActive" isn't set are only
# active at night because its default value is "NIGHT".

# For every block below Y=63 mobs gain hearts exponentially
[[health]]
start = 1
scalingFactor = "DEPTH"
scalingType = "EXPONENTIAL"
increaseFactor = 1.04

# https://minecraft.fandom.com/wiki/Moon
# At new moon the scaling is 0, at full moon it's 4
[[speed]]
start = 0.15
scalingFactor = "LUNAR_PHASE"
scalingType = "LINEAR"
increaseFactor = 0.05

# As you can see below one attribute can have as many different
# scaling modifiers as you want, here damage is both changed
# by days and their distance from spawn

# Everyday mobs do +0.5 more damage starting from 3 damage.
# This scaling will at most only give 10 damage.
# The scaling is only active every other day i.e day 1,3,5...
[[damage]]
activeNth = 2
start = 3.0
max = 10.0
scalingFactor = "DAYS"
scalingType = "LINEAR"
increaseFactor = 0.5

# Beyond 500 blocks from spawn (X=0, Z=0) mobs do 10 extra damage
# both day and night
[[damage]]
scalingFactor = "DISTANCE_FROM_SPAWN"
scalingType = "CONSTANT"
increaseFactor = 10
startingFrom = 500
timeWhenActive = "BOTH" # This value can be "DAY" or "NIGHT", it's default 

Modrinth is open source.

main@396f737

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.