Regalia Slots API (0.0.0-beta.11)
Curse Maven Snippet
What's new
v0.0.0-beta.11 - Fix load crash from duplicate trigger registration
Eleventh beta of Regalia Slots API for Minecraft 1.21.1 / NeoForge 21.1.249 (Java 21). beta.9 and beta.10 crash on load in any pack that reaches the curios:equip_curio trigger without a datapack override; every user of those builds should update.
Fixed
- Crash during mod loading (
IllegalStateException: Adding duplicate value '…EquipCurioTrigger@…' to registry, fromMappedRegistry.registerinRegisterEvent). beta.9 registeredcurios:equip_curiowith the sameEquipCurioTriggerobject already registered asregalia_slots_api:equip_curio. VanillaMappedRegistrydedupes by value identity and rejects the second key, aborting the whole mod-loading phase.
Technical
EquipCurioTriggernow has two instances —INSTANCE(regalia_slots_api:equip_curio) andCURIOS_COMPAT_INSTANCE(curios:equip_curio).- Runtime triggers fan out through a private
fire(...)that notifies the advancement listeners of both instances, so criteria authored under either id still fire on a curio equip. No behaviour change forregalia_slots_api:equip_curioadvancements;curios:equip_curioadvancements now both load (beta.9) and trigger (this release).
Notes
Regalia Slots API is a library. It adds no content on its own — install it only as a dependency of another mod that requires it, on both client and server. Incompatible with the real Curios mod (shared curios mod id); install one or the other. LGPL-3.0-or-later; the full licence text ships in the jar.
JAR: regalia_slots_api-1.21.1-neoforge-21.1.249-0.0.0-beta.11.jar
Tag: 1.21.1-neoforge-0.0.0-beta.11
This mod has no additional files

