CurseForge · Minecraft mod
StatTweaker
Easily configure stats for mobs, tools and armor with MineTweaker3/CraftTweaker scripts
Quick answer
Which StatTweaker release should I use?
StatTweaker targets 1.7.10 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. 1 required mod needs a matching file.
Where it goes
Is StatTweaker required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does StatTweaker need?
StatTweaker. Change the file and its required mods may change too.
Install CraftTweaker, ASJCore first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add StatTweaker without breaking your instance.
Built for StatTweaker. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use StatTweaker. It targets 1.7.10 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install CraftTweaker, ASJCore first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside StatTweaker. It opens that exact file at the source.
About this project
What does StatTweaker add?
Requires 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:
Note: All lines must start with mods.StatTweaker. (omitted here for shortness) or use import (see example StatTweaker.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.
Entities:
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 set amount of ticks entity existed in world.
addHealing(name: EntityName, frequency: Int, amount: Float)
Example: Mooshrooms are worthy of regenerating at any time.
addHealing("MushroomCow", 20, 1.0);
Adds (or changes) mob's NBT values. NBT string syntax is the same as tag syntax in /summon command, NOT as default MineTweaker syntax. Suggestion: use NBTEdit mod to see NBT tags in mobs.
addNBT(name: EntityName, nbt: String)
Example: Creepers are full of energy, like they've been struck by lightning.
addNBT("Creeper", "{powered:1}");
Set the level cap for a certain effect. Note: the level of any effect starts at 0.
capPotion(potionId: Int, maxLvl: Int)
Example: This world is in balance. From now on, no living creature will have a Strength effect higher than level 2.
capPotion(5, 1);
Materials:
Armor repair materials.
changeArmorRepairMaterials(material: String, resources: ItemStack[])
Example: Why not repair diamond tools and armor with emeralds.
changeArmorRepairMaterials("DIAMOND", [<minecraft:diamond>, <minecraft:emerald>]);
Tool repair materials.
changeToolRepairMaterials(material: String, resources: ItemStack[])
Example: Stone tools should be repaired with stone, not just cobblestones. That makes sense.
changeToolRepairMaterials("STONE", [<minecraft:cobblestone>, <minecraft:stone>]);
Armor material properties. Durability Factor is NOT the durability itself, just multiply factor for default values.
armorProperties(name: String, durabilityFactor: Int?, protection: Int[]?, enchantability: Int?)
Example: The leather armor just reeks of magic. Enchantability needs to be raised.
armorProperties("CLOTH", null, null, 30);
Tool material properties.
toolProperties(name: String, harvestLevel: Int?, durability: Int?, efficiency: Float?, damage: Float?, enchantability: Int?)
Example: A stone pickaxe should be able to mine diamonds, and the damage of stone tools should be higher.
toolProperties("STONE", 3, null, null, 8.0, null);
Items:
Armor item properties.
armorProperties(item: ItemStack, protection: Int?, durability: Int?)
Example: A gold chestplate protects the same as an iron chestplate.
armorProperties(<minecraft:golden_chestplate>, 6, null);
Tool item properties.
toolProperties(item: ItemStack, efficiency: Float?, damage: Float?, durability: Int?)
Example: A golden shovel is now much faster and stronger.
toolProperties(<minecraft:golden_shovel>, 60.0, null, 1000);
Sword item properties.
swordProperties(item: ItemStack, damage: Float?, durability: Int?)
Example: A gold sword is just as dangerous as an iron sword, for they are both heavy.
swordProperties(<minecraft:golden_sword>, 6.0, null);
Item properties.
itemProperties(item: ItemStack, size: Int?, durability: Int?)
Example: Stack of chicken eggs expanded to 64.
itemProperties(<minecraft:egg>, 64, null);
Thaumcraft 4:
IMPORTANT: Don't forget to enable TC support in the StatTweaker config!
All lines here must start with mods.StatTweakerTC. (or use imports)
Item warping.
overrideWarping(item: ItemStack, amount: Int)
Example: The half-brother of the Void Sword, but even more Warped!
overrideWarping(<minecraft:diamond_sword>, 5);
Item runic shielding.
overrideBaseRunicShield(item: ItemStack, amount: Int)
Example: A magically unstable piece of armor with a runic shield.
overrideBaseRunicShield(<minecraft:diamond_chestplate>, 10);
Язык этой страницы: Английский
Перевести на Русский
<input class="TnITTtw-dd-input" style="display: none;" type="text" placeholder="Поиск" data-dir="to" data-width="NaN" />
- Азербайджанский
- Албанский
- Амхарский
- Английский
- Арабский
- Армянский
- Африкаанс
- Бенгальский
- Бирманский
- Болгарский
- Валлийский
- Венгерский
- Вьетнамский
- Греческий
- Гуджарати
- Датский
- Иврит
- Индонезийский
- Исландский
- Испанский
- Итальянский
- Казахский
- Каннада
- Каталанский
- Китайский (традиционный)
- Китайский (упрощенный)
- Корейский
- Креольский (гаити)
- Курманджи
- Кхмерский
- Лаосский
- Латышский
- Литовский
- Малагасийский
- Малайский
- Малаялам
- Мальтийский
- Маори
- Маратхи
- Немецкий
- Непальский
- Нидерландский
- Норвежский
- Панджаби
- Персидский
- Польский
- Португальский
- Пушту
- Румынский
- Русский
- Самоанский
- Словацкий
- Словенский
- Тайский
- Тамильский
- Телугу
- Турецкий
- Украинский
- Урду
- Финский
- Французский
- Хинди
- Хорватский
- Чешский
- Шведский
- Эстонский
- Японский
<input id="TnITTtw-always-translate" style="display: none;" type="checkbox" /><label class="TnITTtw-always-translate-label" style="display: none;" for="TnITTtw-always-translate">Всегда переводить Английский на Русский</label>
<input id="TnITTtw-never-translate-lang" style="display: none;" type="checkbox" /><label class="TnITTtw-never-translate-lang-label" style="display: none;" for="TnITTtw-never-translate-lang">Никогда не переводить Английский</label>
<input id="TnITTtw-never-translate-site" style="display: none;" type="checkbox" /><label class="TnITTtw-never-translate-site-label" style="display: none;" for="TnITTtw-never-translate-site">Никогда не переводить legacy.curseforge.com</label>
Project description from CurseForge.
Pick your setup
StatTweaker by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.7.10
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
StatTweaker versions and loaders
StatTweaker
StatTweaker-4.jar
10 Dec 2024
Looking for an older file? The official CurseForge project page is in Resources.