Starshadow Config¶
Configuration screen framework for Starshadow Minecraft mods.
Overview¶
Starshadow Config provides an annotation-driven and builder-based config screen framework with persistent GSON serialization and Mod Menu integration.
Key Features¶
- Fluent
StarConfigBuilderAPI for building config screens - Annotation-driven config with
@StarConfig,@Tab,@Section,@Range, etc. GsonConfigSerializerfor persistent config storageModMenuConfigFactoryfor Mod Menu integration- Support for boolean, int, enum, and string config entries
- Conditional visibility with
@EnabledWhen
Packages¶
| Package | Description |
|---|---|
com.starshadow.config.api |
Fluent builder API (StarConfigBuilder) |
com.starshadow.config.annotation |
Annotation-driven config (@StarConfig, @Tab, etc.) |
com.starshadow.config.entry |
Config entry types (boolean, int, enum, string) |
com.starshadow.config.binding |
Value binding abstractions |
com.starshadow.config.persistence |
Serialization (GsonConfigSerializer) |
com.starshadow.config.screen |
Config screen, tabs, and sections |
com.starshadow.config.integration |
Mod Menu integration |
Dependencies¶
- starshadow-lib (required) — widget toolkit and rendering bridge
Building¶
License¶
MPL-2.0 — see LICENSE for details.