StatTweaker
by AlexSocol
StatTweaker lets scripts in CraftTweaker or MineTweaker3 change the stats of mobs, tools, armor and weapons on Forge 1.7.10.
What it does
Scripts written with the StatTweaker commands set the attributes and base values of mobs, items, armor and tools. Every line in a script starts with mods.StatTweaker, and the example file StatTweaker.zs shows how to add the import. Parameters are written in the form parameter name, parameter type, and command autocompletion helps while typing them.
Parameters accept strings, integers and floating-point numbers. An EntityName is a String literal in double quotes, matching the registry name used when summoning the entity. Int and Integer take whole numbers, while Float and Double take numbers with decimal precision. A question mark after a type makes that value optional, which leaves the stat unchanged. Changes apply to a custom mob's base attributes, and known exceptions are listed by the author.
The mod is intended for balancing modpacks, where a pack maker tunes stats in scripts rather than editing configuration files by hand. It requires ASJCore and CraftTweaker, and it runs on client and server, so both sides need the same version. Some material-changing functions affect only the material itself, not the items made from it, and each function works with one other mob, item or material because of how the code was written.
Key features
Script-based stat changes
Attributes, base values and other stats of mobs, tools, armor and weapons are changed through CraftTweaker or MineTweaker3 scripts.
Typed parameters
Each parameter has a declared type, including strings, integers, floats, doubles and optional values that leave a stat unchanged.
Command autocompletion
Command autocompletion suggests the StatTweaker functions and parameters while a script is written.
Known exceptions
The author documents the cases where a function does not behave as the general rules describe.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Use cases
Modpack balancing
Pack makers adjust mob strength, weapon damage and armor values to fit the progression of a modpack.
Who it’s for: Modpack authors and server owners who already use CraftTweaker or MineTweaker3 scripts and want to tune stats from them.
Questions
Which dependencies does StatTweaker need?
Does StatTweaker have to be installed on both sides?
How are optional values set in StatTweaker scripts?
In the catalog
StatTweaker is one of 11,058 Mobs mods on ModsFinder, and one of 6,527 Mobs mods for Forge. 1,013 mods support Minecraft 1.7.10.
More from AlexSocol
Similar mods
What the author says
MineTweaker3/CraftTweaker addon for configuring attributes and other common stats for mobs, tools, weapons, and armor. Balancing your modpack never been so easy. Note: All lines must start with mods.StatTweaker. or use import (see example StatTweaker.zs).
Official listing
- Modrinth page
- modrinth.com/mod/stattweaker
- Owner
- AlexSocol
- Published
- 2023-10-14
- Updated on Modrinth
- 2024-12-10
- Facts verified
- 2026-10-15
