AStudioLib

A library for all AttackStudio's mods and more.

Редакция NLZONE · 2 мин чтения · 1 просмотр
AStudioLib
Скачать AStudioLib1.21.11 – 26.1.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

A library for all AttackStudio's mods and more.

  • Тип: мод
  • Загрузчик: fabric
  • Версии Minecraft: 1.21.11 – 26.1.2
  • Скачиваний на Modrinth: 6 234

Подробно

[](https://youtube.com/@AttackStudioYT) [](https://astudiolib.fandom.com/wiki/AStudioLibWiki) [](https://github.com/AttackStudios/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.

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.

git clone https://github.com/AttackStudios/AStud

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также