Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haipadev/starvation-configured
Starve to death on any difficulty, or dont (configurable)
https://github.com/haipadev/starvation-configured
mc mc-mod mcreator minecraft mod
Last synced: about 1 month ago
JSON representation
Starve to death on any difficulty, or dont (configurable)
- Host: GitHub
- URL: https://github.com/haipadev/starvation-configured
- Owner: HaipaDev
- License: mit
- Created: 2024-01-26T11:01:44.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T09:26:45.000Z (11 months ago)
- Last Synced: 2024-01-27T13:36:59.588Z (11 months ago)
- Topics: mc, mc-mod, mcreator, minecraft, mod
- Language: Java
- Homepage: https://modrinth.com/mod/starvation-configured
- Size: 302 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Simple configurable mod allowing you to edit how much damage does starving deal per difficulty level and if its possible to die (0 will disable death from starvation, 20 or whatever higher will make you instantly die)
### THIS MOD DOES NOT ENABLE STARVATION ON PEACEFUL, IT JUST PROVIDES THE ABILITY TO MAKE A PLAYER DIE OF "STARVATION", for prior functionality check out other mods like:[https://modrinth.com/mod/hungy](https://modrinth.com/mod/hungy)
For this mod set "peacefulDealDamageFrom": 10[https://modrinth.com/mod/hunger-in-peaceful](https://modrinth.com/mod/hunger-in-peaceful)
For this mod set "peacefulDealDamageFrom": 20 (I think?)Default values:
```
{
"hardStarveDmg": 4, ## 2 hearts
"normalStarveDmg": 2, ## 1 heart
"easyStarveDmg": 1, ## half a heart
"peacefulStarveDmg": 1,
"hardDealDamageTill": 0, ## deal damage till this amount of health, so 0 will make it possible to die
"normalDealDamageTill": 0, ## the vanilla default would be 1
"easyDealDamageTill": 0, ## the vanilla default would be 10
"peacefulDealDamageTill": 0,
"peacefulDealDamageFrom": 10, ## compatibility variable for other mods so you dont take damage twice (other mods fake it like your on Easy so vanilla ticks down to 10 hp)
"healthToDieFromStarvationHard": 1,
"healthToDieFromStarvationNormal": 1,
"healthToDieFromStarvationEasy": 1,
"healthToDieFromStarvationPeaceful": 1
}
```
First of all it uses "faked" starvation custom damage, that is only localized in English, Polish and Japanese with ` %1$s starved to death. ` (for the localization to work its required on the client!)
If you know how to get your own language in, go ahead, if you want to contribute a translation or whatever else; also go ahead Ill probably accept a [https://github.com/HaipaDev/starvation-configured/pulls](pr)Unfortunately on Easy and Peaceful it can be a bit scuffed and possibly cheesable because its counting a timer to deal damage above the vanilla limit after vanilla did its thing, I cannot make the check run on player based ticks or whatever.
Also setting the value of dealDamageTill above vanilla in any difficulty will also be a tiny bit scuffed, it will still "damage" you but then you will get 0.5 hunger when at the set limit so vanilla stops, I cant cancel the damage unfortunately.
Setting damage to 0 will make you not take any starvation damage (look point above, it can only damage you once at full health) and will bring back 0.5 hunger