介绍
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
For this mod set “peacefulDealDamageFrom”: 10
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 pr on GitHub
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
常见问题
Starvation Configured 支持哪些 Minecraft 版本?
Starvation Configured 支持 Minecraft Java 版 1.20–1.20.4,共 5 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Starvation Configured 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分