promotional bannermobile promotional banner

SPC Core

The official API library for Stored Program Controls, providing the shared foundation for addons, integrations, and compatibility with other mods.
Back to Files

SPC Core 1.1.5 for SPC 0.2.0.1 (1.21.1)

File namestoredprogramcontrols-1.1.5-api.jar
Uploader
Livi_LPLivi_LP
Uploaded
Apr 17, 2026
Downloads
13
Size
57.2 KB
Mod Loaders
NeoForge
File ID
7941505
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:spc-core-1510924:7941505"

Learn more about Curse Maven

What's new

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

This mod has no additional files