Skip to content

Starshadow Lib

Starshadow mods library files

Fabric
Loaders
Fabric
Downloads on Modrinth
117
Followers on Modrinth
0
version
1
Updated
February 27, 2026Feb 27
Published
in 2026
This is a library — other mods need it, and it adds nothing to the game by itself

At a glance

A library: other mods need it
Runs on Fabric
For Minecraft 1.20.1–1.20.6
Needed in the game and on the server
Latest version — 0.1.0-SNAPSHOT-mc1.20.1-3149615 from February 27, 2026
License MPL-2.0 — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.1–1.20.6

★ Starshadow Lib

The foundation for Starshadow mods.

Starshadow Lib is a shared widget toolkit and utility library for Minecraft Fabric mods. It provides the building blocks that power Starshadow's config screens, mod list, and splash screen — and you can use them in your own mods too.

"Widgets, layout, and rendering — the boring parts, done right."


✨ Features

🎛️ Widget Toolkit

Ready-to-use Minecraft GUI widgets built on vanilla screen components:

WidgetDescription
ToggleWidgetOn/off toggle switch with animation
SliderWidgetNumeric slider with configurable range
IntStepperWidgetInteger value with +/- buttons
EnumCycleWidgetCycle through enum values with click
StarWidgetBase widget class for building custom widgets

📐 Layout System

Utilities for consistent, responsive GUI layouts:

ComponentDescription
EntryRowLabel + widget row with consistent alignment
SpacingStandardized spacing constants for UI consistency

📦 Container Widgets

Higher-level containers for organizing content:

ContainerDescription
ScrollablePanelScrollable content area with smooth scrolling
SectionCardCard-style container with header and collapsible content
VerticalTabBarTab strip for multi-section screens

🎨 Rendering Utilities

UtilityDescription
RenderBridgeCross-version rendering abstraction layer
ColorsStandardized color palette constants

🔧 Logging Helpers

UtilityDescription
LogLevelHelperDynamic Log4j2 level control for debug logging toggles

📦 Installation

For Mod Developers

Add to your build.gradle.kts:

dependencies {
    modstitchModImplementation("com.starshadow:starshadow-lib:${property("starshadow_version")}")
    include("com.starshadow:starshadow-lib:${property("starshadow_version")}")
}

For Players

Starshadow Lib is bundled inside mods that use it — you typically don't need to install it separately. If a mod requires it as an external dependency:

  1. Install Fabric Loader for your Minecraft version
  2. Install Fabric API
  3. Drop the Starshadow Lib .jar into your mods/ folder
  4. Launch Minecraft

Supported: Minecraft 1.20.1 · 1.20.4 · 1.21.1 — Fabric only


🔨 Usage Examples

Toggle Widget

ToggleWidget toggle = new ToggleWidget(x, y, width, height,
    Text.literal("Enable Feature"),
    () -> config.isEnabled(),
    value -> config.setEnabled(value));

Slider Widget

SliderWidget slider = new SliderWidget(x, y, width, height,
    Text.literal("Volume"),
    0, 100, config.getVolume(),
    value -> config.setVolume(value));

Scrollable Panel

ScrollablePanel panel = new ScrollablePanel(x, y, width, height);
panel.addChild(new EntryRow(label, widget));
panel.addChild(new EntryRow(label2, widget2));

🧩 Compatibility

ModCompatibility
Fabric API✅ Required
Starshadow Config✅ Uses Lib for config screen widgets
Starshadow Menu✅ Uses Lib for mod list UI
Starshadow Splash✅ Uses Lib indirectly via Config

📋 Requirements

DependencyRequired?
Fabric Loader✅ Yes
Fabric API✅ Yes

Starshadow Lib has no dependencies beyond Fabric itself — it's the foundation layer.


🌟 Build Better UIs

Stop reinventing widgets for every mod. Starshadow Lib provides a consistent, tested set of UI components so you can focus on what makes your mod unique.


Made with ❤️ by Ghent Starshadow Licensed under MPL-2.0 — free to use, share, and modify.

FAQ

How to install Starshadow Lib?

Install Fabric for your Minecraft version, download Starshadow Lib for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Starshadow Lib support?

Starshadow Lib has builds for Minecraft 1.20.1–1.20.6.

Is Starshadow Lib needed on the server?

Needed in the game and on the server

License and source
Mozilla Public License 2.0free to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More