MaLiLib

MaLiLib

A library mod for client-side mods. Contains most of the common/shared code of masa's client mods, and adds some inter-operation support between the dependent mods.

18.6M downloads
Created Apr 9, 2026
by masa

About

Description

MaLiLib is a library mod for client-side mods, containing most of the shared code between the dependent mods. For example it contains all the configuration options and serialization, a powerful keybind system, most of the Screen/GUI code and a bunch of other miscellaneous utility classes and methods for the mods that are built around MaLiLib.

(The name is short for masa's Litemod Library because I have zero imagination... The mod was initially created for the 1.12.x LiteLoader versions of masa's client mods.)

Mods that require MaLiLib

MaLiLib is required by all of masa's client-side mods, starting from the indicated versions:

There are also a number of other client-side mods by other authors that are built around MaLiLib. The mod project/description usually indicates which mod(s) are required as a dependency.

Mod Versions

Make sure to download the correct mod version for your Minecraft version and mod loader from the Versions page!!

Note: There are both Fabric and Forge versions of the mod! Look at the tagged mod loader or the file name to get the correct version of the mod for your mod loader!

The file name always indicates the mod loader (for example Fabric vs. Forge) and the Minecraft version. The file name is in the format: malilib-<mod loader>-<MC version>-<mod version>.jar

For example: malilib-fabric-1.19.2-0.13.0.jar

The required version of malilib for each mod version may be indicated in the changelog of each of the dependent mods. But basically you want to get the version of all the mods that were the latest released version at the given time, to avoid version mismatches.

This would mostly become more tricky to figure out if you for some reason want to use certain older mod versions than the latest available version for a given MC version. Especially the 0.9.x and 0.10.x version era of MaLiLib for MC 1.12.2 and 1.14.x and 1.15.x (and maybe also 1.16.x still?) were kinda volatile for version compatibility. Also the releases based on the code rewrites, starting from MaLiLib 0.50.0 and going until the eventual 1.0.0 release change lots of things between versions, so getting all the mods from the same release date is crucial.

Versions

v0.27.6Latest
1.21.11fabricFeb 16, 2026

- remove: the `super.render()` for a few specific widgets for being redundant. - fix: `GuiContext` not storing the canon "GuiGraphics" object as a reference. - fix: a couple items related to `TextFieldWrapper` and `GuiTextFieldGeneric` -- specifically with data type checks and Hover strings. - add: Better Villager Profession colors based on in-game texture colors; although a few of them looks a bit a like; such as having 3 shades of Gray (Mason, Armorer, Weaponsmith). - "clarify" and fix the `onValueChanged()` callbacks across the board, and solve the `setValueFromJsonElement()` problems utilizing some new `IConfig*` interfaces and smarter uses of `markClean()` / `markDirty()` - add: `IConfigGuiAlLTab` & make Search Bar with a Keybind a bit less Janky. - Fix VillagerTradesDisplay with servux (#133) - Increase Packet Splitter's MAX receive buffer size to `67108864` - Remove "fabric-resource-loader-v0" dependency - Data Tag updates & Bump Schema.java for 26.1, Remove more uses of `DataConverterNbt` - add "NbtOverrides" for checking Item ID's - Some PRW util work staging (Don't use them ... yet) - fix Selection box culling / offset - fix some `GuiTextFieldGeneric` errors - add nearly all vanilla core shaders into MaLiLib's resources so external resource packs won't interfere with rendering. - add a Configurable `HandSlot` Option List function. - add: `GuiTextDualInput`, `GuiTextInputMultiLine`, and `GuiTextInputStackedMultiLine` system, and related Interfaces; also added the `onMousedDragged()` event to `GuiBase` / `WidgetBase` / `WidgetContainer` along with handling for adding Multi-Line Text Edit boxes. - Bump Loom, Gradle, etc; update Lang entries - add `conditional_mixins` across the board.

Download
v0.27.5
1.21.11fabricJan 18, 2026

- fix: `renderTextPlate()` -- Remove all legacy `GlStateManager` calls from it, and add the tick Delta version for the Camera. - cleanup `TickUtils` fixes from previous release - Various JavaDoc updates for `RenderUtils`, marking some older items as **'for removal'**

Download
v0.27.4
1.21.11fabricJan 15, 2026

- ensure that `TickUtils` returns a valid Tick Rate; especially if a user decides to use something like `ViaVersion` with servers that do not send a tick rate.

Download

Download

Download v0.27.6

Minecraft: 1.21.11

Loaders: fabric

Tags

fabricforgeliteloaderornitherift1.21.71.21.81.21.91.21.101.21.11