Tags
Creators
Details
Licensed ARR
Published 3 months ago
Updated 5 days ago
All versions
2.2.0-1.21.1
Release
immunity_accessories-2.2.0last month 14
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:ldcbrenG:bfRk4KMi"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:ldcbrenG:bfRk4KMi"
}

