promotional bannermobile promotional banner

Its Cross's Mob Effects

Mob Effects applies configurable status effects to any mob through an easy-to-use configuration file
Back to Files

Mob Effects 1.0.3

File namemob-effects-1.0.0.jar
Uploader
ItsCrossItsCross
Uploaded
Jul 26, 2026
Downloads
10
Size
1.7 MB
Mod Loaders
Fabric
File ID
8514512
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Fabric

modImplementation "curse.maven:its-crosss-mob-effects-1613459:8514512"

Learn more about Curse Maven

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.

This mod has no related projects