Modscraper Modscraper Minecraft
Onlys`s Library logo

Onlys`s Library

Mod

HitsOnly's Library is a collection and api for the development of upcoming mods. This collection consists out of mixins, a shader plugin, a keybind library, a config loader, a command library, an in memory plugin loader and a rendering library.

Type

Mod

Modrinth Downloads

10,911

Modrinth ID

3kuIlUL0

Last Updated

Jul 29, 2026

Description

my lib for fabric mod dev. its the base i built my upcoming mods on top of so instead of copy pasting the same code into every mod i just made it once and dropped it here.

whats in it mixin events tick, keybind, render timing. the ones that fire in the right tick instead of +1 later which is what most other libs give u. covers before/after handleKeybinds, after gui tick, local player tick / aiStep / sendPosition head + tail, render level tail, all that. plus a check for "is the player typing in chat right now" so ur keybinds dont fire mid typing.

virtual resource pack register a PackContributor and ship assets at runtime from memory. good for procedurally built shaders, dynamic textures, lang u generate, whatever u dont want sitting on disk. minecrafts resource manager picks it up like its a normal pack.

glfw key parser parse M1, MMB, F5, named keys (SHIFT, CTRL, KP3, ESC, all the usual), labels for ui, press state checking per window. for when u accept keybinds from chat commands or config strings instead of from the vanilla keymapping screen.

config helper gson load + save. two methods. for mods too small to want cloth config.

tab complete filter register a command root and it stops showing up in chat tab complete. command still works when typed. for dev / debug commands u dont want spamming the suggestion list.

mixin accessors public AbstractContainerScreen + KeyMapping accessors so other mods dont each need their own.

use it add to ur fabric.mod.json: "depends": { "virtuallibrary": "*" }

upcoming more mods using virtual library are COMING.

Compatibility

Mod Loaders

Fabric

Game Versions

1.21.11

Recommended Gear

Affiliate

Hardware and extras that pair well with this mod.

As an Amazon Associate I earn from qualifying purchases.

Similar Mods

External Resources