Utility Core Fixes (2.3.2)
Curse Maven Snippet
What's new
v2.3.2 - Curios Loot Predicate Crash Fix
Fix
- Server crash on entity death when a Curios item is enchanted: Curios injects a mixin into vanilla's
NbtPredicate.getEntityTagToComparethat merges the entity's Curios inventory into the NBT being compared for loot table / advancement predicates. When any equipped curio is enchanted, serializing that NBT needs access to theminecraft:enchantmentregistry, which is not accessible in this evaluation context and throwsIllegalStateException: Can't access registry ResourceKey[minecraft:root / minecraft:enchantment]. This was uncaught and crashed the server (Ticking entity) whenever a loot table condition evaluated anEntityPredicateagainst an entity carrying an enchanted curio — e.g. any player death loot table. - Added a mixin on the vanilla
LootItemEntityPropertyCondition.testthat catches thisIllegalStateExceptionaround the predicate check and fails the predicate instead of propagating the crash. - New config toggle
enableCuriosLootPredicateFix(defaulttrue) to disable this behavior if needed. Requires Curios to be present to matter, but does not hard-depend on it.
JAR: utility_core_fixes-26.2-neoforge-26.2.0.37-beta-2.3.2.jar
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

