SlotKit 1.0.0 для Minecraft 1.21.11 (Fabric)
Это не последняя версия. Последняя для 1.21.11 · Fabric — 2.0.0Открыть 2.0.0 →
Файлы · 1
Что изменилось
MenuKit: Containers 1.0.0
First release. The slot extension for MenuKit: custom container menus, per-slot state, slot-group regions, and contract verification.
Depends on MenuKit 1.0.0. MenuKit: Containers pulls in MenuKit through api, so a consumer only needs to declare MenuKit: Containers to get both.
What it includes
MenuKitScreenHandler, a container-menu handler built to work with MenuKit's panels.MenuKitHandledScreen, the screen-side companion that draws MenuKit panels and vanilla slots in one frame.- Per-slot state that the server owns and syncs to the client.
- Slot-group regions. Group slots into named regions and anchor MenuKit panels to them the same way you anchor to menu regions.
- Storage primitives.
Storage,KeyedStorage,PlayerStorage,EphemeralStorageandStorageAttachmentcover most container patterns. - Custom payloads for the slot-state protocol. The same pattern works for your own typed payloads.
- A contract-verification harness for slot and UI invariants.
Side support
Universal (environment: "*"), so it runs on both client and server.