promotional bannermobile promotional banner

Regalia Slots API

Flexible and expandable accessory/equipment API. Add extra equipment slots (rings, amulets, and more) to Minecraft in a compatible, user-configurable way — fork of Curios API by TheIllusiveC4.
Back to Files

Regalia Slots API (0.0.0-beta.7)

File nameregalia_slots_api-1.21.1-neoforge-21.1.249-0.0.0-beta.7.jar
Uploader
LlaGuiT0LlaGuiT0
Uploaded
Sep 1, 2026
Downloads
10
Size
484.8 KB
Mod Loaders
NeoForge
File ID
8784876
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:regalia-slots-api-1659506:8784876"

Learn more about Curse Maven

What's new

v0.0.0-beta.7 - Curios inventory adapter ClassCastException

Seventh beta of Regalia Slots API for Minecraft 1.21.1 / NeoForge 21.1.249 (Java 21).

Fixed

  • ClassCastException when a mod read the Curios inventory of an entity: the next link in the same chain as beta.6 — L_Ender's Cataclysm first-person arm rendering (and any mod calling CuriosApi.getCuriosInventory() / getCurio()) crashed with class com.skd.regaliaslotsapi.common.capability.CurioInventoryCapability cannot be cast to top.theillusivec4.curios.api.type.capability.ICuriosItemHandler. The Curios API adapter methods returned Regalia's internal implementation objects cast straight to the verbatim top.theillusivec4.curios.* interfaces, which those objects never implement. They are now wrapped in forwarding shims, the same pattern already used for slot types (ShimSlotType).

Technical

  • New shims in com.skd.regaliaslotsapi.compat.curios: ShimCuriosItemHandler, ShimCurio, ShimCurioStacksHandler, ShimDynamicStackHandler — each implements the verbatim top.theillusivec4.curios.* interface and forwards to the parallel Regalia implementation, wrapping/unwrapping nested capability types and translating SlotContext / SlotResult by value.
  • RegaliaSlotsApiImplMixinHooks.getCurioForCurios / getCuriosInventoryForCurios now return new ShimCurio(...) / new ShimCuriosItemHandler(...) instead of an unchecked cast.

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.7.jar

Tag: 1.21.1-neoforge-0.0.0-beta.7

This mod has no additional files