sun_burn_damage-forge-1.20.1-2.0.jar
Curse Maven Snippet
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).
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

