
Что это
A mana API providing mana calculation hooks and mana rendering.
- Тип: мод
- Загрузчик: fabric
- Версии Minecraft: 26.1 – 26.1.2
- Скачиваний на Modrinth: 1 444
Подробно
Pentamana is a library adds non-registered mana status for living entities.
data: Parent tag.  |- mana: Any  \\- manacapacity: Any
json { "manaCapacityBase": 20.0, "manaRegenerationBase": 0.0625 }
json { "manaBarOffsetX": 0, "manaBarOffsetY": -69, "manaBarDirection": "right", "manaBarAlignment": "middle", "manaBarMaxStars": 20 }
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.
- /manabar set ... Set manabar config and save to config file. - /manabar reset [...] Set manabar config to default and save to config file.
Codes in this tutorial are licenced under CC-0.
properties pentamanaversion=2.0.0-beta.14
gradle repositories { exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } filter { includeGroup "maven.modrinth" } } }
dependencies { implementation "maven.modrinth:pentamana:${project.pentamanaversion}" }
java livingEntity.consumeMana(1.234f) // Return true if successful.
java ManaEvents.CALCULATECAPACITY.register((livingEntity, capacity) -> { float f = capacity.floatValue() // Base value. // TO-DO: Do your modifies to f. capacity.setValue(f); return InteractionResult.PASS; })
- ManaEvents.CALCULATECAPACITY - ManaEvents.CALCULATEREGENERATION - ManaEvents.CALCULATECONSUMPTION - ManaEvents.CALCULATEDAMAGE
java livingEntity.getCastingDamageAgainst(entity, 1.234f)
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Herobrine Phantom
Turns the phantom into Herobrine with an elytra on 05.12.2026
Kassy Remodeled Mobs +FA Version
A version of my Resource Pack compatible with "Fresh Animations" by FreshLX 05.12.2026
Controlify Alternative Textures
Alternative wheel slot and virtual mouse textures for Controlify mod! 05.12.2026
Draconic Shenanigans
addon mod to draconic that adds misc draconic items 05.12.2026
LiveBuddy
Adds "LiveBuddy," an autonomous, human-type NPC that performs tasks and combat on behalf of the player 05.12.2026
Spinning Items Displayer Mod
A RPG like way to Display the Items at the Left of the Inventory when you hover it. 05.12.2026