CurseForge · Minecraft mod
ManaTweaks
Botania/CraftTweaker add-on allowing inventory mana manipulation
Quick answer
Which ManaTweaks release should I use?
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.
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.
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 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.
- 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.
- 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.
- 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 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) : intManaHandler.requestMana(IEntity, int, bool) : intManaHandler.requestManaExact(IItemStack, IEntity, int, bool) : boolManaHandler.requestManaExact(IEntity, int, bool) : boolManaHandler.requestManaForTool(IItemStack, IEntity, int, bool) : intManaHandler.requestManaForTool(IEntity, int, bool) : intManaHandler.requestManaExactForTool(IItemStack, IEntity, int, bool) : boolManaHandler.requestManaExactForTool(IEntity, int, bool) : boolManaHandler.dispatchMana(IItemStack, IEntity, int, bool) : intManaHandler.dispatchMana(IEntity, int, bool) : intManaHandler.dispatchManaExact(IItemStack, IEntity, int, bool) : boolManaHandler.dispatchManaExact(IEntity, int, bool) : boolManaHandler.manaRepairEntitySlot(IEntity, IEntityEquipmentSlot, int, int) : boolManaHandler.manaRepairEntitySlot(IEntity, int, int, int) : bool(player as IEntity).manaRepairSlot(IEntityEquipmentSlot, int, int) : bool(player as IEntity).manaRepairSlot(int, int, int) : boolManaHandler.manaRepairStack(IItemStack, IEntity, int, int) : bool(stack as IItemStack).manaRepair(IEntity, int, int) : bool
- ManaDiscounter module:
ManaDiscounter.addDiscount(IItemStack, ManaDiscountFunction) : boolManaDiscounter.removeDiscount(IItemStack) : bool
- PixieHandler module:
PixieHandler.spawnPixie(double, double, double, IEntity, IEntity, float, IPotionEffect...) : voidPixieHandler.spawnPixie(IBlockPos, IEntity, IEntity, float, IPotionEffect...) : voidPixieHandler.spawnPixie(double, double, double, IEntity, IEntity, @Optional float) : voidPixieHandler.spawnPixie(IBlockPos, IEntity, IEntity, @Optional float) : voidPixieHandler.spawnPixie(IEntity, IEntity) : void
- DamageHelper module:
DamageHelper.isSafeDamageModification(IItemStack, int) : boolDamageHelper.damage(IItemStack, int) : boolDamageHelper.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.12.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
ManaTweaks versions and loaders
manatweaks-1.4.jar
24 Mar 2019
manatweaks-1.3.jar
19 Dec 2018
manatweaks-1.2.jar
17 Dec 2018
manatweaks-1.1.jar
27 Nov 2018
manatweaks-1.0.jar
14 Oct 2018
Looking for an older file? The official CurseForge project page is in Resources.