Pentamana Extra

Quick rating

Pentamana Extra

No reviews yet

A Pentamana addon providing mana calculation modifying features.

Magic
API/Library
Mod Loaders
Fabric
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

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
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

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Pentamana Extra

Pentamana Extra is a library providing mana calculation modifying features. Examples include:

  • Enchantments.
  • Status effects.
  • Modifiers.

Configuration

config/pentamana-extra.json:

{
  "enchantmentCapacityBase": 2.0,
  "enchantmentStreamBase": 0.015625,
  "enchantmentManaEfficiencyBase": 0.1,
  "enchantmentPotencyBase": 0.5,
  "statusEffectManaBoostBase": 4.0,
  "statusEffectManaReductionBase": 4.0,
  "statusEffectInstantManaBase": 4.0,
  "statusEffectInstantDepleteBase": 6.0,
  "statusEffectManaPowerBase": 3.0,
  "statusEffectManaSicknessBase": 4.0,
  "statusEffectManaRegenerationBase": 50,
  "statusEffectManaInhibitionBase": 40,
  "shouldConvertExperience": false,
  "experienceConversionBase": 1.0
}

Command

The commands below require premission level 2 to execute.

  • /custom effect give <entities> <effect> [<duration|infinite>] [<amplifier>] Give custom status effect. effect can be pentamana.mana_boost, pentamana.mana_reduction, pentamana.instant_mana, pentamana.instant_deplete, pentamana.mana_regeneration, pentamana.mana_inhibition, pentamana.mana_power, pentamana.mana_sick.

Modifier

Compound custom_data/data: Parent tag.
 \- List modifiers
  \- Compound A modifier.
    |- String attribute: namespace:path. pentamana:mana_capacity, pentamana:mana_regeneration, pentamana:mana_consumption, pentamana:casting_damage.
    |- Double base: Any.
    |- String id: Any.
    |- String operation: add_value, add_multiplied_base, add_multiplied_total.
    \- String slot: mainhand, offhand, feet, legs, chest, head.

Below is an example modifier for item stacks which increase mana capacity by 10 when held in offhand.

[
  custom_data={
    modifiers: [
      {
        attribute: "pentamana:mana_capacity",
        base: 10.0d,
        operation: "add_value",
        slot: "offhand"
      }
    ]
  }
]

Below is an example modifier for entities which increase mana capacity by 10.

[
  data={
    modifiers: [
      {
        attribute: "pentamana:mana_capacity",
        base: 20.0d,
        operation: "add_value",
        slot: "offhand"
      }
    ]
  }
]

Status Effect

Compound custom_data/data: Parent tag.
 \- List status_effects
  \- Compound A status effect.
    |- String id: namespace:path. pentamana:mana_boost, pentamana:mana_reduction, pentamana:instant_mana, pentamana:instant_deplete, pentamana:mana_regeneration, pentamana:mana_inhibition, pentamana:mana_power, pentamana:mana_sickness.
    \- List episodes: Unordered episodes.
     \- Compound An episode.
       |- Int amplifier: Any.
       \- Int duration: Any. In ticks.

Below is an example status effect for item stacks which increase the mana regeneration by 16 when the item is consumed.

[
  custom_data={
    status_effects: [
      {
        id: "pentamana:instant_mana",
        episodes: [
          {
            duration: 1,
            amplifier: 2
          }
        ]
      }
    ]
  }
]

Below is an example status effect for entities which increase the mana regeneration by 16.

[
  data={
    status_effects: [
      {
        id: "pentamana:instant_mana",
        episodes: [
          {
            duration: 1,
            amplifier: 2
          }
        ]
      }
    ]
  }
]

Mana Boost

Increase mana capacity by level * statusEffectManaBoostBase.

Mana Reduction

Decrease mana capacity by level * statusEffectManaReductionBase.

Instant Mana

Increase mana regeneration by 2 ^ level * statusEffectInstantManaBase.

Instant Deplete

Decrease mana regeneration by 2 ^ level * statusEffectInstantDepleteBase.

Mana Regeneration

Increase mana regeneration by manaPerPoint / statusEffectManaRegenerationBase >> level

Mana Inhibition

Decrease mana regeneration by manaPerPoint / statusEffectManaInhibitionBase >> level

Mana Power

Increase casting damage by level * statusEffectManaPowerBase.

Mana Sickness

Decrease casting damage by level * statusEffectManaSicknessBase.

Enchantment

Capacity

  • Maximum level: II
  • Primary items: Stick
  • Secondary items: Axe, Hoe, Mace, Pickaxe, Shovel, Sword, Trident
  • Enchantment weight: 2

Capacity adds extra mana capacity level * enchantmentCapacityBase.

Stream

  • Maximum level: II
  • Primary items: Stick
  • Secondary items: Axe, Hoe, Mace, Pickaxe, Shovel, Sword, Trident
  • Enchantment weight: 5

Stream adds extra mana regeneration by level * enchantmentStreamBase.

Mana Efficiency

  • Maximum level: V
  • Primary items: Stick
  • Secondary items: Axe, Hoe, Mace, Pickaxe, Shovel, Sword, Trident
  • Enchantment weight: 5

Mana Efficiency reduces the casting mana cost by level * enchantmentManaEfficiencyBase percent.

Potency

  • Maximum level: V
  • Primary items: Stick
  • Secondary items: Axe, Hoe, Mace, Pickaxe, Shovel, Sword, Trident
  • Enchantment weight: 10

Potency adds the casting damage by (level + 1) * enchantmentPotencyBase.

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

<1,000
Downloads
Last Updated
CurseForge
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