immunity_accessories-2.2.0
Curse Maven Snippet
What's new
Added
- Dynamic cursed crystals and charm amulets: replaced per-effect static items and enum with a single item type backed by Data Components.
- Automatic runtime mod compatibility: harmful mob effects from all loaded mods are detected dynamically from registries without hardcoded mod dependencies.
CursedCrystalDropEventonNeoForge.EVENT_BUSallowing external mods to read, multiply, flat-adjust, or cancel crystal drops, as well as customize drop quantities.- Entity type tags (
#immunity_accessories:inflicts_<effect>) allowing mobs to drop corresponding crystals without needing prior combat debuff registration. - Dynamic crafting recipe implementation for charm amulets using Data Components.
Changed
- Crystal drop chances now scale dynamically with the player's luck attribute (
Attributes.LUCK). - Added a 10x drop chance multiplier when a mob dies while actively afflicted by the effect it inflicts.
- Removed static
CursedCrystalTypeenum and hardcoded recipe JSONs in favor of runtime registry handling.
This mod has no additional files

