Download Level HP — Minecraft Mods — ModStock

Level HP

Active

Downloads

20

Last update

1 year ago
Client
Fabric
Quilt
Forge
Neoforge
Adventure
Utils

icon

 

This mod is forge mod "Level Up HP" 1.16.5+ version.
This mod has most of the features of Level Up HP (Forge)
This mod not requires Kottle.
This mod used gamerule to configure.

 

Screenshot

ScreenshotThe command

/levelhp

settings

/hplevel

show your hp-level

/hpexp

show your hp-exp

/hpexpadd [addexp]

add your hp-exp

 

Description of Level HP gamerule (2023/08/14)

 

+--- Format ---+

<name> (default value)
<Display name>
<description>

 

+--- Basic settings ---+

starthp (10)
Starting Hp
Starting HP in half-hearts.

hpperlevel (2)
Hp level up give hp
HP gain per level in half-hearts.

maxhplevel (15)
Max hp level
Maximum HP level.

showhpexpgui (true)
show Hp exp GUI
Whether to display the custom HP-XP bar overlay.

 

+--- Level up ---+

basehplevelupexp (100)
Base Hp-exp needed to advance to next HP level.
(base + scale*level)

scalinghplevelupexp (50)
Scaling HP-exp needed to advance to next HP level.
(base + scale*level)

healonlevelup (true) *No longer use*
Heal when Hp level up
Whether the player should heal when HP is leveled up.

basehealonlevelup (-100) *2
Base heal when Hp level up
Heal when HP is leveled up. (base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

scalinghealonlevelup (0) *2
Scaling heal when Hp level up
Heal when HP is leveled up (base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

 

+--- Death Loss ---+

basediehpexplost (20) *2
Base Hp-exp lost on death
(base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

scalingdiehpexplost (10) *2
Scaling Hp-exp lost on death
(base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

basediehplevellost (0) *2
Base Hp-level lost on death
(base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

scalingdiehplevellost (0) *2
Scaling Hp-level lost on death
(base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

hpleveldiereset (false)
Reset on death
Whether the player's Hp-exp and Hp-level should reset on death.

 

+--- get exp ---+

givehpexpnormal (2)
Live stock Gain
XP gained from killing livestock.

givehpexpmonster (3)
Monster extra Gain
MORE XP gained from killing monsters.

baseenemyhpcalculationexpbenchmark (20) *1
Base enemy hp calculation exp benchmark
Hp-exp is calculated according to the enemy's blood volume benchmark. (base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

unitenemyhpcalculationexpbenchmark (1) *1
Unit enemy hp calculation exp benchmark
Used as the unit basis for calculating Hp-exp in non-percentage mode. (when this value is 0, it will be automatically set to 1)

scalingenemyhpcalculationexpbenchmark (0) *1
Scaling enemy hp calculation exp benchmark
The multiplier that will be multiplied when calculating the final Hp-exp amount. (base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

morehpexpperlevel (0)
More hp exp per level
The amount of Hp-exp that can be obtained at each level. (When this value is less than 0, it will be converted to a percentage mode.)

 

+--- Randomly increase or decrease exp ---+

baseramdomIncreaseordecreaseexp (0) *2
Base ramdom Increase or decrease exp
Base random increase or decrease of exp value. (base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

scalingramdomIncreaseordecreaseexp (0) *2
Scaling ramdom Increase or decrease exp
Scaling random increase or decrease of exp value. (base + scale*level) (When this value is less than 0, it will be converted to a percentage mode.)

 

+--- *Detailed expression ---+

(lower case: numeric mode)
(uppercase: percentage mode)
(b/B : base) (s/S : scaling) (u : unit)
(All : original value) (Eh : entity hp) (Lv : player's hp-level)
(parameter is automatically removed when in a different mode)
(Mu=1/0 when numeric mode/percentage mode)

*1 result = {All*[(Eh-b)/u+Eh/B]*[s+S]}+{All*Mu}
*2 result = [All*(B+S*Lv)]+[b+s*Lv]

 

+--- Exp calculation order ---+
0. entity died
1. givehpexpnormal/givehpexpmonster
2. baseenemyhpcalculationexpbenchmark/unitenemyhpcalculationexpbenchmark/scalingenemyhpcalculationexpbenchmark
-- if result<1.() , result = 1.() --
3. morehpexpperlevel
4. baseramdomIncreaseordecreaseexp/scalingramdomIncreaseordecreaseexp
-- if result<=0 , result = 1 --
5. output result

 

Other mods:

Stone of restore

Compression ores

God dog World

 

 

The following content is excerpted from the original mod page:

 

This version is for Forge. A Fabric version is also available: click here.

Description

Level Up HP is a mod that adds RPG style HP upgrades. As you kill mobs, you gain HP XP, which eventually gives you HP Levels, which give you additional hearts of health. The mod is designed with mod packs and servers in mind; so it's fully configurable. You can configure the starting and maximum HP, the HP XP requirements to level up, the penalties on death, whether to reset HP Levels on death, and more! There are also commands that allow ops or command blocks to manage HP XP and HP Level for any player.

Installation

Features

  • Increase your max HP by killing mobs
  • Configure just about everything using data packs, like starting HP, max level, progression formula, and penalty formulas. You can even set XP values for individual mobs, including modded ones! See the section on data packs in the wiki. There's also a preconfigured example data pack that starts you off with a full 10 hearts of health instead of 5.
  • HP XP overlay HUD
  • Heart containers that instantly give you an HP level. You can use a data pack to add these to dungeon loot, include them in adventure maps, whatever you want. By default, they're not obtainable in survival.
  • Level up trigger for use in data packs; see one of the built in advancements for a usage example. Supports int range conditions (just like many vanilla triggers) on current and remaining levels.
  • Command (/leveluphp check) to check XP/Level in case you have a mod that conflicts with the xp bar hud
  • Op-only commands to manage XP/Level for any player
    • /leveluphp [setxp|addxp|setlevel|addlevel]
    • You can use these with command blocks or mcfunctions too

Modpacks

This mod is licensed under Apache 2.0, so you're free to include it in modpacks. While not required, I'd prefer it if you let me know when you add this mod to a modpack or use it on a public server.

Project members
5487apple

5487apple