Pentamana

⭐ — (4 endorsements) 📥 1,396 downloads 📌 v2.0.0-beta.14 📅 11/9/2024
🟡 Updated this year

By CookedSeafood · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 5/27/2026 📅 Created: 11/9/2024
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.3% endorsement rate
  • 🏆 #482 of 892 fabric mods in this game by downloads

📋 About This Mod

✅ `/mana get` Print mana supply. Returns mana supply in point.
✅ `/mana set` Set mana supply. Returns modified mana supply in point.
✅ `/mana add` Add mana supply. Returns modified mana supply in point.
✅ `/mana subtract` Subtract mana supply. Returns modified mana supply in point.
✅ `/pentamana reload` Reload server config file.
✅ `/pentamana reset [...]` Set server config to default and save to config file.

# Pentamana Pentamana is a library adds non-registered mana status for living entities. !(https://github.com/CookedSeafood/nbtsheet/raw/0cfc19cc5644a82c921d39f9c40729aca3dea33d/compound.png) **data**: Parent tag. &ensp;|- !(https://github.com/CookedSeafood/nbtsheet/raw/0cfc19cc5644a82c921d39f9c40729aca3dea33d/float.png) **mana**: Any &ensp;\\- !(https://github.com/CookedSeafood/nbtsheet/raw/0cfc19cc5644a82c921d39f9c40729aca3dea33d/float.png) **mana_capacity**: Any !(https://cdn.modrinth.com/data/UgFKzdOy/images/f3cd7c3f727aa816cea812bd654485bc743dda71.png) ## Configuration `config/pentamana/server.json`: ```json { "manaCapacityBase": 20.0, "manaRegenerationBase": 0.0625 } ``` `config/pentamana/client.json`: ```json { "manaBarOffsetX": 0, "manaBarOffsetY": -69, "manaBarDirection": "right", "manaBarAlignment": "middle", "manaBarMaxStars": 20 } ``` ## Command ### Server Command The commands below require premission level 2 to execute. - `/mana get` Print mana supply. Returns mana supply in point. - `/mana set` Set mana supply. Returns modified mana supply in point. - `/mana add` Add mana supply. Returns modified mana supply in point. - `/mana subtract` Subtract mana supply. Returns modified mana supply in point. - `/pentamana reload` Reload server config file. - `/pentamana set ... <...>` Set server config and save to config file. - `/pentamana reset ` Set server config to default and save to config file. ### Client Command - `/manabar set ... <...>` Set manabar config and save to config file. - `/manabar reset ` Set manabar config to default and save to config file. ## Tutorial Codes in this tutorial are licenced under CC-0. ### Installation `gradle.properties`: ```properties pentamana_version=2.0.0-beta.14 ``` `build.gradle`: ```gradle repositories { exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } filter { includeGroup "maven.modrinth" } } } dependencies { implementation "maven.modrinth:pentamana:${project.pentamana_version}" } ``` ### Consume mana ```java livingEntity.consumeMana(1.234f) // Return true if successful. ``` ### Change how mana capacity is calculated ```java ManaEvents.CALCULATE_CAPACITY.register((livingEntity, capacity) -> { float f = capacity.floatValue() // Base value. // TO-DO: Do your modifies to f. capacity.setValue(f); return InteractionResult.PASS; }) ``` - `ManaEvents.CALCULATE_CAPACITY` - `ManaEvents.CALCULATE_REGENERATION` - `ManaEvents.CALCULATE_CONSUMPTION` - `ManaEvents.CALCULATE_DAMAGE` (https://modrinth.com/mod/pentamana-extra) uses this. ### Get Casting Damage ```java livingEntity.getCastingDamageAgainst(entity, 1.234f) ```

# Pentamana

Pentamana is a library adds non-registered mana status for living entities.

!(https://github.com/CookedSeafood/nbtsheet/raw/0cfc19cc5644a82c921d39f9c40729aca3dea33d/compound.png) data: Parent tag.  |- !(https://github.com/CookedSeafood/nbtsheet/raw/0cfc19cc5644a82c921d39f9c40729aca3dea33d/float.png) mana: Any  \\- !(https://github.com/CookedSeafood/nbtsheet/raw/0cfc19cc5644a82c921d39f9c40729aca3dea33d/float.png) mana_capacity: Any

!(https://cdn.modrinth.com/data/UgFKzdOy/images/f3cd7c3f727aa816cea812bd654485bc743dda71.png)

## Configuration

`config/pentamana/server.json`:

```json { "manaCapacityBase": 20. 0, "manaRegenerationBase": 0. 0625 } ```

`config/pentamana/client.json`:

```json { "manaBarOffsetX": 0, "manaBarOffsetY": -69, "manaBarDirection": "right", "manaBarAlignment": "middle", "manaBarMaxStars": 20 } ```

### Server Command

The commands below require premission level 2 to execute.

  • `/mana get` Print mana supply. Returns mana supply in point.
  • `/mana set` Set mana supply. Returns modified mana supply in point.
  • `/mana add` Add mana supply. Returns modified mana supply in point.
  • `/mana subtract` Subtract mana supply. Returns modified mana supply in point.
  • `/pentamana reload` Reload server config file.
  • `/pentamana set ... <...>` Set server config and save to config file.
  • `/pentamana reset [...]` Set server config to default and save to config file.

### Client Command

  • `/manabar set ... <...>` Set manabar config and save to config file.
  • `/manabar reset [...]` Set manabar config to default and save to config file.

## Tutorial

Codes in this tutorial are licenced under CC-0.

### Installation

`gradle.properties`:

```properties pentamana_version=2. 0. 0-beta. 14 ```

`build.gradle`:

```gradle repositories { exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } filter { includeGroup "maven.modrinth" } } }

dependencies { implementation "maven.modrinth:pentamana:${project.pentamana_version}" } ```

### Consume mana

```java livingEntity.consumeMana(1. 234f) // Return true if successful. ```

### Change how mana capacity is calculated

```java ManaEvents. CALCULATE_CAPACITY.register((livingEntity, capacity) -> { float f = capacity.floatValue() // Base value. // TO-DO: Do your modifies to f. capacity.setValue(f); return InteractionResult. PASS; }) ```

  • `ManaEvents. CALCULATE_CAPACITY`
  • `ManaEvents. CALCULATE_REGENERATION`
  • `ManaEvents. CALCULATE_CONSUMPTION`
  • `ManaEvents. CALCULATE_DAMAGE`

(https://modrinth.com/mod/pentamana-extra) uses this.

### Get Casting Damage

```java livingEntity.getCastingDamageAgainst(entity, 1. 234f) ```

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
CookedSeafood
Version
2.0.0-beta.14
Downloads
1,396
Endorsements
4
Category
fabric
Created
11/9/2024
Updated
5/27/2026
Game Versions
26.1, 26.1.1, 26.1.2
Tags
library, magic

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Pentamana support?

The author lists 26.1, 26.1.1, 26.1.2. Other versions may work but are untested by the author.

What is the latest version of Pentamana?

Version 2.0.0-beta.14, published 2026-05-27 with 1,396 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by CookedSeafood 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods