smushytaco / health-levels Goto Github PK
View Code? Open in Web Editor NEWThis mod lets you gain experience to get more health.
License: GNU Lesser General Public License v3.0
This mod lets you gain experience to get more health.
License: GNU Lesser General Public License v3.0
When removing the mod, my health is still not default >:C
i tried to edit the config files so you would instead have 3 hearts and gain 1 every 10 levels but instead whn i joined game it was just the default one
(i edited it correctly i DO know how to code a bit)
An extra config where you can define about how many xp and or levels you can lose when dying instead of losing it all
Your Max hp gets reset to the default if you gain max hp from other mods upon dying which really sucks
MC v1.19.2 | Quilt v0.17.6
Mod List:
Video showing config & testing: https://youtu.be/PQAgoHXDtUM
Log from above test: latest.log
I'm on Fabric 1 18.2, and setting the exp lost to Levels will remove you all your levels instead of X amount or X percentage
Hey there,
I really love your mod!
I noticed that the mod hard codes the health level of the player (e.g. to 10 by default).
This is an easy solution, but may lead to problems with other mods like origins or spiceoffabrics, as they also manipulate the player's health.
For example:
Let's say I have 3 mods: origins, spiceoffabric and healthlevels.
Currently,
Healthlevels sets the starting hl to 10. Spiceoffabric then reduces it by 8. origins reduces it by 10 again.
The player is left with -8 health levels.
With these changes, healthlevels would still reduce it by 50% to 10, spiceoffabric sets the hl to 60% of that (6), and origins to 50% of this (3), so the player is left with 1.5 hearts, instead of negative hearts.
This change is especially relevant, as this change would make the loading order of the mods independant. Currently, if the other two mods are loaded before this one, the health level will again be negative.
If you also implement this change, the loading order will be completely irrelevant as 40% of 60% of 50% is the same as 60% of 50% of 40% etc..
This might reduce unwanted results in the player's health (e.g. for me :D )
Port for fabric 1.18.2
hey there,
I noticed that after loading a world, the health level bar is empty, until new points are garthered. Then, it's updated and shows the correct amount again.
Can this be confirmed?
I can also add screenshots if required, but I think it's pretty straight forward to reproduce :P
i'm in the process of adding more levels that i can get and instead of copy-and-pasting xp levels in the list directly via config, i'd have to painstakingly add each entry by hand in modmenu (which takes a lot of time)
the config files do save, but they don't show up in game and the config file gets overwritten whenever i save in modmenu
Despite trying out this mod a few times (two years ago, today) it never worked for me. I kill or gain xp and it still doesn't fill my health bar, it's just stuck.
Mod doesn't support Spiffy HUD mod, is it possible to make a support for it, there is API for that.
https://github.com/Keksuccino/Spiffy-HUD/wiki
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.