Mob Effects 1.0.3
Curse Maven Snippet
What's new
# Mob Effects v1.1 Changelog
## Added
- Added a complete rewrite of the Mob Effects configuration system.
- Added Fabric's official config directory support.
- Added safer JSON loading and generation handling.
- Added automatic detection of valid living mobs only.
- Added support for separating vanilla mobs and modded mobs.
- Added safer default configuration generation.
- Added Gson compatibility with default constructors.
- Added infinite duration support using `Integer.MAX_VALUE`.
## Changed
- Reworked `mob-effects.json` generation.
- Config files are now created in the correct Fabric config folder.
- Effects are now only applied to entities capable of receiving potion effects.
- Improved configuration structure reliability.
- Improved handling of missing or corrupted config values.
- Improved compatibility with modded entities.
## Fixed
- Fixed non-living entities appearing in the config file:
- Boats
- Minecarts
- Projectiles
- Armor Stands
- Other miscellaneous entities
- Fixed possible crashes caused by missing JSON fields.
- Fixed possible null pointer errors during config creation.
- Fixed invalid negative effect durations.
- Fixed unsafe config loading behavior.
## Technical Changes
- REWORKED `INFINITE_DURATION` constant for permanent effects causing application bug.
- Added automatic initialization of missing config sections.
- Added safer exception handling during config parsing.
- Improved code organization for future effect customization.
## Notes
- Existing `mob-effects.json` files may need to be deleted once to allow regeneration with the new format.
- This update prepares the system for more advanced features.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

