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
Chaos Chickens
Unpredictable Chaos Chickens ready to ruin your day.
Ham & Cheese Sandwich
Adds a Ham & Cheese sandwich to Minecraft.
Brick Forgery
Brick-making tech mod with a very complex progression system mainly focused around creating increasingly absurd bricks
heroes of envell zero
this modification is based on the famous Russian TV series Heroes of Enwell. It adds a huge living world to the game, in...
Paint Blocks
Minecraft mod that let's you paint your world!
Medigun
a fully healing Medigun in fabric 1.21.4 Minecraft