Onlys`s Library
ModHitsOnly'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
15
Modrinth ID
3kuIlUL0
Last Updated
Jun 1, 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": { "onlylib": "*" }
source: https://github.com/Hits0nly/HitsOnly-s-library
upcoming
this is the foundation, more mods using onlylib are COMING.
Compatibility
Mod Loaders
Game Versions
Similar Mods
Random Bongos
Random bongo sounds that play well... randomly. Used to be exclusively forge 1.20.1 but now neoforge 1.21.1 with lots of...
Gather
Material Gathering. The mod provides automatic base material calculation, HUD progress, needed blocks outlines and SO MU...
HealthEx
For every 5 levels of experience gained, the player's health count increases by one
QiuymMod
Added unique items such as the sickle with optimized crafting recipes, significantly reducing resource gathering difficu...
Middle-earth Adventures
This mod adds items, biomes, mob and also, structures!
Assembly Assembled | Extras
This datapack adds bridge information and rebalancing for the mods within the Assembly Assembled Datapack