Mods / Fall Damage Options
Author: Rangelost
Side: Both
Created: Jun 10th 2023 at 2:21 AM
Last modified: Aug 15th 2023 at 11:37 PM
Downloads: 724
Follow Unfollow 10
Latest file for v1.18.8:
falldamageoptions.zip
1-click install
This is a simple mod with the objective of adding options to mitigate unfair deaths caused by the buggy mess that is fall damage. This mod only affects players.
Upon running the mod, a falldamageoptions
.json
config file will be created or updated in the game's ModConfig directory. The available options are:
enabled
:true
to enable player fall damage,false
to disable player fall damage;max_damage
: maximum damage caused by a single fall†. Set to0
or less to disable this option;min_health
: minimum health down to which fall damage can bring a player. This makes falling non-lethal. Set to0
or less to disable this option;speed_based
:true
to make fall damage speed-based instead of distance-based (a(x - b)²
),false
to use the base game algorithm;sb_threshold
: ifspeed_based
istrue
, speed threshold (b
) at which players begin to take fall damage;sb_coefficient
: ifspeed_based
istrue
, coefficient (a
) with which fall damage is multiplied;client_authoritative
:true
to make fall damage client-authoritative, otherwisefalse
. Only enable this if you trust the clients not to cheat. Be aware that enabling this bypasses the bug where touching a wall prevents fall damage.
† Because of the base game's client-server discrepancy and poor synchronization, it is possible to take the damage from a single fall multiple times. This is a game issue, not a mod issue.
Note: This mod does not fix any of the base game's bugs related to fall damage. It is merely an attempt at lessening the severity of the problem until such time as it is properly addressed.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v1.1.1 | 337 | Aug 15th 2023 at 11:37 PM | Show | falldamageoptions.zip | Install now | |
v1.1.0 | 209 | Jun 23rd 2023 at 2:19 AM | Show | falldamageoptions.zip | Install now | |
v1.0.0 | 178 | Jun 10th 2023 at 2:22 AM | Show | falldamageoptions.zip | Install now |
ThreeHeadedDingo
Jaarl
Glad to hear it!
Many thanks Rangelost and Pumilius! Like ThreeHeadedDingo, I only play with friends so the client_authoritative option is perfect for us.
The new ability to allow client authoritative fall damage is great, thanks. I only ever play with close friends and cheating is a non-issue for us, so I'm always thankful for stuff like this.
Jaarl
When calculating fall damage, the base game attempts to be generous to gliding players by limiting the fall height to a hard-coded 14 blocks, and by halfing the vertical speed. Of course, none of that matters if the server forgot to register that the player is gliding at all... which it frequently does.
If you're playing in single player, you definitely want to enable the
client_authoritative
option. It will mitigate all instances of fall damage-related lag (e.g. suddenly dying in midair), and make gliding much more fun. The option also works in multiplayer if you're hosting a server to play together with friends. I do not recommend using this option if you host an open server, as it would allow strangers to cheat (more than they already can) and avoid all fall damage.Jaarl
Definitely go with Speed based damage and enabled the client authoritative feature if you're playing by yourself or people you can trust. It's gets damn close to making the game playable and not taking fatal damage running down stairs!
Rangelost thanks for this mod! Short of disabling fall damage or using max_damage or min_health, what settings would you recommend players use with Alternative Glider Implementation to mitigate instant death?
ThreeHeadedDingo
Unfortunately, it does not. That information is not available at the fall damage calculation stage. As a result, much like in the base game, the safest way to land remains to slam violently into a wall.
Do you know if horizontal speed factors into speed-based fall damage using your method?