ManaTweaks
No reviews yet
Botania/CraftTweaker add-on allowing inventory mana manipulation
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources