promotional bannermobile promotional banner

Sun Burn Damage

Increase sun burn damage, the affected mobs can be customized through a configuration file
Back to Files

sun_burn_damage-forge-1.20.1-2.0.jar

File namesun_burn_damage-forge-1.20.1-2.0.jar
Uploader
ShinJoy991ShinJoy991
Uploaded
Nov 7, 2026
Downloads
7
Size
32.0 KB
Mod Loaders
Forge
File ID
9489666
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:sun-burn-damage-1102421:9489666")

Learn more about Curse Maven

What's new

v2.0

Fixed
- Fixed a thread-safety issue in singleplayer: sun burning is now processed on the server only.
- Fixed crashes when the config file is empty, malformed or has wrong value types. The error is logged, the last working config is kept on reload, and /SunBurnDamageReload reports "Reload Error!!".
- Fixed /SunBurnDamageReload failing from the server console or a command block.
- Fixed the config being saved in the system charset instead of UTF-8, which could corrupt non-ASCII text.
- Fixed missing keys in the "mechanic" section of older configs. They are now added automatically.
- Add/remove mob commands now update the config safely (all-or-nothing), read the file fresh from disk so manual edits are not overwritten, and no longer turn ' into \u0027.

Improved
- Less lag: the mod skips all work at night and on the client, and mob lists from the config are cached instead of rebuilt every tick.
- The particle packet is now restricted to server-to-client.
- Config load errors are logged once instead of spamming the log.
- Added percent damage mode: sun burning can deal a percent of the mob's max health instead of a flat bonus (config: percentmode, damagepercent).

This mod has no related projects