promotional bannermobile promotional banner

Immunity Accessories

amulets that provide immunity to a certain effect
Back to Files

immunity_accessories-2.2.0

File nameimmunity_accessories-2.2.0.jar
Uploader
ringowayringoway
Uploaded
Sep 13, 2026
Downloads
14
Size
80.4 KB
Mod Loaders
NeoForge
File ID
8872221
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:immunity-accessories-1601353:8872221"

Learn more about Curse Maven

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.
  • CursedCrystalDropEvent on NeoForge.EVENT_BUS allowing 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 CursedCrystalType enum and hardcoded recipe JSONs in favor of runtime registry handling.

This mod has no related projects