Regalia Slots API (0.0.0-beta.6)
Curse Maven Snippet
What's new
v0.0.0-beta.6 - Legacy Curios helper compatibility
Sixth beta of Regalia Slots API for Minecraft 1.21.1 / NeoForge 21.1.249 (Java 21).
Fixed
- Legacy
CuriosApi.getCuriosHelper()returnednull: mods that still use the deprecated Curios helper accessor — Supplementaries (quiver), L_Ender's Cataclysm (first-person arm rendering) and others — crashed with aNullPointerException. The compat layer bridged the modernCuriosApistatic methods but never wiredgetCuriosHelper(), so every caller hit a null helper (server "Ticking player" crash and client render FATAL).getCuriosHelper()now returns a shimICuriosHelperbacked by the same compatibility layer.
Technical
- New
com.skd.regaliaslotsapi.compat.curios.LegacyCuriosHelperShimimplementingtop.theillusivec4.curios.api.type.util.ICuriosHelper, delegating toCuriosImplMixinHooks:getCurio/getCuriosHandler/getCurioTags/isStackValid/onBrokenCuriodirect;findCurios*/findFirstCurio*/findCurio/getEquippedCurios/setEquippedCurio/findEquippedCurioresolved through the entity'sICuriosItemHandler. MixinCuriosApigains a@InjectongetCuriosHelperreturning the shim singleton.
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.6.jar
Tag: 1.21.1-neoforge-0.0.0-beta.6
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

