Back to mods
AStudioLib project artwork

Modrinth · Minecraft mod

AStudioLib

A library for all AttackStudio's mods and more.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which AStudioLib release matches 26.1.2?

Updated 4 months ago
Best match for your filters 1.2.0
Game version 26.1, 26.1.1, 26.1.2
Loader Fabric

AStudioLib 1.2.0 targets 26.1, 26.1.1, 26.1.2 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.

Where it goes

Is AStudioLib required on the client, server, or both?

It must be installed on the client. Do not install it on the dedicated server.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked client-only.

What else does AStudioLib 1.2.0 need?

1.2.0 on 26.1.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by AStudioLib 1.2.0
required
Matching file found Matched file: 0.155.3+26.1.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add AStudioLib without breaking your instance.

Built for AStudioLib 1.2.0 on 26.1.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.2.0. It targets 26.1, 26.1.1, 26.1.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.2.0. It opens that exact file at the source.

About this project

What does AStudioLib add?

YouTube Wiki
GitHub


AStudioLib

A lightweight, general-purpose Fabric mod library built by AttackStudio. AStudioLib handles all the boilerplate that every mod needs — config persistence, GUI rendering, sound helpers, inventory queries, a tick scheduler, keybinding registration, and more — so it never has to be written twice.

For players: Drop the JAR in your mods folder alongside any mod that requires it. AStudioLib has no visible effect on its own.


What's Included

Config

JSON config persistence backed by Gson. One-line save and load, automatic file location, pretty-printing, and silent error handling.

GUI Rendering

A full set of DrawContext helpers for the AttackStudio dark-theme UI: panel backgrounds, pulsing borders, corner brackets, animated shimmer sweeps, progress bars, tooltip boxes, scrollbars, and fade edges for scrollable regions.

Easing

Frame-rate-independent easing functions: ease-out, ease-out-back, ease-in-out, sine pulse, ease-out bounce, and linear lerp. All inputs are clamped automatically.

Color Utilities

ARGB color packing, alpha blending, two-color lerp, a healthColor gradient (red → yellow → green), HSV-to-RGB conversion, and an animated rainbow helper.

Math Utilities

clamp, remap, approach, smoothLerp, wrap, and nearlyEqual — the numeric helpers that Java forgot to include.

Text Helpers

Minecraft Text builders: hex-colored text, toggle labels ("Feature: ON/OFF"), join-with-separator, and vanilla Formatting application.

Tick Scheduler

Client-side deferred and repeating task scheduler. Schedule a one-shot action after N ticks or a repeating pulse every N ticks — no background threads, no boilerplate.

Inventory Utilities

Full-inventory queries including offhand: item count, presence checks, first-slot search, and held-item detection.

Sound Utilities

One-liner sound playback — fixed volume/pitch, custom pitch, or randomized pitch within a range.

Toast Notifications

One-liner Minecraft system toast notifications (top-right corner), with or without a body message.

Keybinding Registration

Thin wrapper around Fabric's keybinding API. Register a key in one line, poll with isHeld() or consumePress(). Auto-ticked each client frame.

/studiolib Command

A shared client command registry. Any mod can register subcommands under /studiolib during init — AStudioLib assembles the full tree automatically.


For Mod Developers

1. Publish to Maven local:

git clone https://github.com/AttackStudios/AStudioLib.git
cd AStudioLib
./gradlew publishToMavenLocal

2. Add to build.gradle:

repositories { mavenLocal() }
dependencies {
    modImplementation "net.attackstudioyt:astudiolib:1.1.0"
}

3. Declare in fabric.mod.json:

"depends": { "astudiolib": "*" }

Requirements

Minecraft 1.21.11 or higher
Fabric Loader ≥ 0.18.4
Fabric API 0.141.3+1.21.11
Java 21

Project description from Modrinth.

Pick your setup

AStudioLib by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

AStudioLib versions and loaders

1 of 2 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.