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.
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
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
ReForbidden Magic
Bring some items from FM and SoM to 1.12.2
Magnetic Enchantment
New enchantment for tools and weapons thats auto pickup the mined block or loot items!
PlayerEx: Directors Cut
Adds RPG progression with character levels, attributes, spell schools and equipment leveling. Includes built-in WizardEx...
Fast New World Button
Adds a 'Create New World' button directly in your pause menu! Great for Roguelike modpacks!
Mana Wizardry
Make arbitrary items use botania mana. Also has wizardry wands that use botania mana.
Faster Ladders
Spiritual Sucessor to Faster Ladder Climbing