Regalia Slots API (0.0.0-beta.12)
Curse Maven Snippet
What's new
v0.0.0-beta.12 - Fix client load crash with mods that use the Curios screen
Twelfth beta of Regalia Slots API for Minecraft 1.21.1 / NeoForge 21.1.249 (Java 21). Fixes a client crash on load in any pack that combines Regalia with a mod referencing Curios' inventory screen (e.g. Apothic Attributes); affected users should update.
Fixed
- Client crash during mod loading (
NoClassDefFoundError: top/theillusivec4/curios/client/gui/CuriosScreen, fromEventBus.registerinFMLClientSetupEventforapothic_attributes). Apothic Attributes registers a client Curios integration handler whenevercuriosis loaded, which Regalia's compatibility layer declares. Registering the handler resolves every parameter type on it, includingtop.theillusivec4.curios.client.gui.CuriosScreen— a class Regalia's bundled Curios mirror never carried. The missing class aborted the whole mod-loading phase.
Technical
- Added
top.theillusivec4.curios.client.gui.CuriosScreenas a load-only binary-compatibility shim (abstract class … extends AbstractContainerScreen<AbstractContainerMenu> implements ICuriosScreen). It is never instantiated and nothing in Regalia extends it; it exists only so reflection-driven type resolution at mod-loading time succeeds. The accessors third-party mods call (getGuiLeft(),getGuiTop(),getMinecraft()) resolve through the inherited NeoForge patches. - Known limitation (no behaviour change, now documented): Regalia's real curios GUI does not extend this type, so a mod's
instanceof CuriosScreencheck on the live screen returnsfalseand its curios-screen integration (such as Apothic Attributes' attribute-panel button) is skipped. It no longer crashes.
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.12.jar
Tag: 1.21.1-neoforge-0.0.0-beta.12
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

