StatTweaker

⭐ — (7 endorsements) 📥 2,231 downloads 📌 v4 📅 10/14/2023
🟠 Updated over a year ago

By AlexSocol · equipment

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 12/10/2024 📅 Created: 10/14/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.3% endorsement rate
  • 🏆 #229 of 269 equipment mods in this game by downloads

📋 About This Mod

#### Requires (https://modrinth.com/mod/asjcore) (check files description for version info)

MineTweaker3/CraftTweaker addon for configuring attributes and other common stats for mobs, tools, weapons, and armor. Balancing your modpack never been so easy.

Open for feature requests.

Documentation:

Spoiler (click to show)

Note: All lines must start with `mods. StatTweaker.` or use import (see example (https://bitbucket.org/AlexSocol/stattweaker/src/master/examples.zs)).

Parameters are written in form of `(parameter_name: Parameter_type)`:

`EntityName` type — String literal (in double quotes like "this") of registry entity name (as seen in /summon command autocompletion). Can also be `"~player~"` to change something in players.

`Int` for Integer numbers. `Float` and `Double` are both for floating-point numbers; `Double` is just with double decimal precision.

Question mark after type indicates that this value can be `null` (no ? — no `null` allowed) — use it if you want to leave that value unchanged.

Regarding material-changing functions, if a parameter is red-colored, its value won't reflect on items, only on material itself.

Warning: All functions may not work with one or the other mob/item/material because its code may be written in non-standard way. Known exceptions will be noted.

Spoiler (click to show)

Changes default mob's attributes (if those are registered) base values. If `maxHealth` was changed, entity's health will be set to max on spawn. `setDefaultAttributes(name: EntityName, maxHealth: Double?, followRange: Double?, knockbackResistance: Double?, movementSpeed: Double?, attackDamage: Double?)` Example: You want to increase Wither's maximum health by 3 times. `setDefaultAttributes("WitherBoss", 900. 0, null, null, null, null);`

Used to avoid above health set behavior. (ex: Wither's health charge when it raises health from 0 to 300 after summon structure is created; Gaia from Botania or Flügel from Alfheim are good examples too). `blacklistSetHealth(name: EntityName)` Example: Just adding the Wither, whose maximum health we previously extended to 900. `blacklistSetHealth("WitherBoss");`

This will change how much hp entity gains from healing. You can change any original healing values (be it potions, natural creature regeneration, and others). `changeHealing(name: EntityName, old: Float, new: Float)` Example: If you change Wither's maximum health from 300 to 900, you may want to change its charging heal value from 10 to 30, so the animation won't break. And this won't reflect on its +1hp regeneration after it was fully charged — to change it to use 1 and 3 values. `changeHealing("WitherBoss", 10. 0, 30. 0);` `changeHealing("WitherBoss", 1. 0, 3. 0);`

Changes custom mob's attributes base values. Warning: this WON'T add new attributes. `setCustomAttributes(name: EntityName, attr: String, value: Double)` Example: You can make all Crimson Knights (Thaumcraft) have a runic shield. `setCustomAttributes("Thaumcraft. CultistKnight", "tc.mobmod", 4. 0);`

Set the maximum health of the mob. `setMaxHealth(name: EntityName, value: Double)` Example: Pigs should live longer. `setMaxHealth("Pig", 20. 0);`

Set the distance at which mobs will follow the player. `setFollowRange(name: EntityName, value: Double)` Example: Myopic (can't see beyond three blocks) skeletons will no longer bother you. `setFollowRange("Skeleton", 3. 0);`

Set the value of the knockback resistance. A value of 1. 0 equals 100% knockback resistance. `setKnockbackResistance(name: EntityName, value: Double)` Example: Unmovable sheep! `setKnockbackResistance("Sheep", 1. 0);`

Set the value of the mob's movement speed. `setMovementSpeed(name: EntityName, value: Double)` Example: The cows are running around like stung. `setMovementSpeed("Cow", 0. 5);`

Set the damage value of the mobs. `setAttackDamage(name: EntityName, value: Double)` Example: Zombies are more dangerous now. `setAttackDamage("Zombie", 8. 0);`

Set new XP drop value for mob. Warning: this won't affect animals. `setXP(name: EntityName, newXP: Int)` Example: More slimes, more experience. `setXP("Slime", 1000);`

Step height is how high animal can climb without jumping. Default is 0. 5 — because of that, mob don't need to jump to get on slabs. You can put 1 to allow one block step or 1. 5 to make it able to get over the fence. This won't reflect on jump height, though. `setStepHeight(name: EntityName, stepHeight: Float)` Example: The chickens now not only descend safely from a height, but also “fly” 5 blocks up. `setStepHeight("Chicken", 5. 0);`

Entity's hitbox sizes (as seen if you hit F3+B). `setSize(name: EntityName, width: Float, height: Float)` Example: Ocelots, true cats, will now get into narrow spaces (like under slabs). `setSize("Ozelot", 0. 5, 0. 5);`

Adds new regeneration value for every

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
AlexSocol
Version
4
Downloads
2,231
Endorsements
7
Category
equipment
Created
10/14/2023
Updated
12/10/2024
Game Versions
1.7.10
Tags
equipment, mobs, utility

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does StatTweaker support?

The author lists 1.7.10. Other versions may work but are untested by the author.

What is the latest version of StatTweaker?

Version 4, published 2024-12-10 with 2,231 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More equipment 👤 More by AlexSocol 🔎 Similar Mods 🌐 Best equipment (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods