ManaTweaks

Quick rating

ManaTweaks

No reviews yet

Botania/CraftTweaker add-on allowing inventory mana manipulation

Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
manatweaks-1.4.jar
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

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) : 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

Screenshots

Gallery

This project has no gallery images yet.

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

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~230,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works