File Details
SPC Core 1.1.5 for SPC 0.2.0.1 (1.21.1)
- R
- Apr 17, 2026
- 57.24 KB
- 9
- 1.21.1
- NeoForge
File Name
storedprogramcontrols-1.1.5-api.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
Stored Program Controls — API Changelog
API Version 1.1.5 (April 17, 2026)
Guide Book API (Patchouli Integration)
- SpcGuideBookRegistry: Thread-safe static registry for addon guide book content. Addons register categories and entries during mod setup; content is frozen alongside other registries in FMLCommonSetupEvent.
- SpcBookCategory: Record declaring a guide book category with categoryId (namespaced), name, description, icon, sortnum, and optional parent for subcategories.
- SpcBookEntry: Record declaring a guide book entry with entryId (namespaced), name, icon, category reference, sortnum, priority flag, and a list of SpcBookPage objects.
- SpcBookPage: Immutable page data with factory methods for common Patchouli page types: text(), spotlight(), crafting(), image(), entity(), and custom() for any Patchouli type.
- Multi-addon safety: Duplicate category/entry IDs are handled gracefully — first registration wins, subsequent duplicates log a warning and are skipped. No crash on conflicts.
- Unknown category references are logged as warnings at freeze time but do not prevent entries from being included.
- Content is served via an in-memory resource pack injected through AddPackFindersEvent. Addon mods do not need to ship Patchouli JSON files manually.
- New API package: com.hypernova.spc.api.book (4 classes).
- API jar: storedprogramcontrols-1.1.5-api.jar (42+ classes, 13 packages).

