Back to mods
ManaTweaks project artwork

CurseForge · Minecraft mod

ManaTweaks

Botania/CraftTweaker add-on allowing inventory mana manipulation

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which ManaTweaks release should I use?

Updated 7 years ago
Latest stable file manatweaks-1.4.jar
Game version 1.12.2
Loader Not required

manatweaks-1.4.jar targets 1.12.2. The project page does not say whether this file belongs on the client, dedicated server, or both. All 4 required mods have matching files.

Where it goes

Is ManaTweaks required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release No loader listed
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does manatweaks-1.4.jar need?

manatweaks-1.4.jar. Change the file and its required mods may change too.

All 4 required mods have matching files

Install Botania, CraftTweaker, MTLib, Baubles first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.

3 listed on this file 3 pulled in by those mods
Botania Needed by manatweaks-1.4.jar
required
Matching file found Matched file: Botania r1.10-364.4.jar
CraftTweaker Needed by manatweaks-1.4.jar
required
Matching file found Matched file: CraftTweaker2-1.12-4.1.20.715.jar
MTLib Needed by manatweaks-1.4.jar
required
Matching file found Matched file: MTLib-3.0.7
Baubles Needed by Botania
pulled in
Matching file found Matched file: Baubles-1.12-1.5.2.jar
Quark Needed by Botania
pulled in
No matching file

3 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add ManaTweaks without breaking your instance.

Built for manatweaks-1.4.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use manatweaks-1.4.jar. It targets 1.12.2; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Botania, CraftTweaker, MTLib, Baubles first. We found matching files for this game-version and loader setup. 3 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside manatweaks-1.4.jar. It opens that exact file at the source.

About this project

What does ManaTweaks add?

ManaTweaks adds a handful of methods allowing CraftTweaker scripts to manipulate mana in player inventories: providing it, consuming it, repairing durability with it, or discounting its use with armour. The mod does nothing unless CraftTweaker scripts make use of it. You must install Botania, CraftTweaker, and MTLib to use this mod.

I've created an example use of the mod in the form of Botania Materials, which implements materials for Tinker's Construct and Construct's Armory in CraftTweaker/ContentTweaker.

In case it's not obvious from the license: you may freely use this mod in modpacks.

The full documentation is in the "Pages" section, but as a quick overview, see this list of method signatures:

  • ManaHandler module:
    • ManaHandler.requestMana(IItemStack, IEntity, int, bool) : int
    • ManaHandler.requestMana(IEntity, int, bool) : int
    • ManaHandler.requestManaExact(IItemStack, IEntity, int, bool) : bool
    • ManaHandler.requestManaExact(IEntity, int, bool) : bool
    • ManaHandler.requestManaForTool(IItemStack, IEntity, int, bool) : int
    • ManaHandler.requestManaForTool(IEntity, int, bool) : int
    • ManaHandler.requestManaExactForTool(IItemStack, IEntity, int, bool) : bool
    • ManaHandler.requestManaExactForTool(IEntity, int, bool) : bool
    • ManaHandler.dispatchMana(IItemStack, IEntity, int, bool) : int
    • ManaHandler.dispatchMana(IEntity, int, bool) : int
    • ManaHandler.dispatchManaExact(IItemStack, IEntity, int, bool) : bool
    • ManaHandler.dispatchManaExact(IEntity, int, bool) : bool
    • ManaHandler.manaRepairEntitySlot(IEntity, IEntityEquipmentSlot, int, int) : bool
    • ManaHandler.manaRepairEntitySlot(IEntity, int, int, int) : bool
    • (player as IEntity).manaRepairSlot(IEntityEquipmentSlot, int, int) : bool
    • (player as IEntity).manaRepairSlot(int, int, int) : bool
    • ManaHandler.manaRepairStack(IItemStack, IEntity, int, int) : bool
    • (stack as IItemStack).manaRepair(IEntity, int, int) : bool
  • ManaDiscounter module:
    • ManaDiscounter.addDiscount(IItemStack, ManaDiscountFunction) : bool
    • ManaDiscounter.removeDiscount(IItemStack) : bool
  • PixieHandler module:
    • PixieHandler.spawnPixie(double, double, double, IEntity, IEntity, float, IPotionEffect...) : void
    • PixieHandler.spawnPixie(IBlockPos, IEntity, IEntity, float, IPotionEffect...) : void
    • PixieHandler.spawnPixie(double, double, double, IEntity, IEntity, @Optional float) : void
    • PixieHandler.spawnPixie(IBlockPos, IEntity, IEntity, @Optional float) : void
    • PixieHandler.spawnPixie(IEntity, IEntity) : void
  • DamageHelper module:
    • DamageHelper.isSafeDamageModification(IItemStack, int) : bool
    • DamageHelper.damage(IItemStack, int) : bool
    • DamageHelper.repair(IItemStack, int) : bool
    • (stack as IItemStack).canRepair(@Optional int) : bool
    • (stack as IItemStack).canDamage(@Optional int) : bool
    • (entityLivingBase as IEntity).canRepairSlot(IEntityEquipmentSlot, @Optional int) : bool
    • (entityLivingBase as IEntity).repairSlot(IEntityEquipmentSlot, @Optional int) : bool
    • (entityLivingBase as IEntity).canDamageSlot(IEntityEquipmentSlot, @Optional int) : bool
    • (entityLivingBase as IEntity).damageSlot(IEntityEquipmentSlot, @Optional int) : bool
    • (player as IEntity).canRepairSlot(int, @Optional int) : bool
    • (player as IEntity).repairSlot(int, @Optional int) : bool
    • (player as IEntity).canDamageSlot(int, @Optional int) : bool
    • (player as IEntity).damageSlot(int, @Optional int) : bool

Project description from CurseForge.

Pick your setup

ManaTweaks by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

ManaTweaks versions and loaders

5 of 5 releases match

Looking for an older file? The official CurseForge project page is in Resources.