MaLiLib

MaLiLib

Mod

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.

Client LibraryUtility

2.69M downloads
1,663 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

MaLiLib 1.21.4-0.23.1

Changelog

  • Replace the wrong Pair system with the Apache Commons versions across the Mod Ecosystem.
  • fix: Missing InventoryPreview tooltips allow you use the IRender.onRenderTooltip() system; such as viewing Shulker Boxes while using the shulkerPreview while inside of the InventoryOverlayScreen.
  • feat: Adds three new callbacks to the IRender tooltip rendering system for a more seamless way to inject Text into the Vanilla Tooltips for Items. One is for 'Below the Item Name' (First), another for after the 'additional item tooltips' (Middle), and finally the 'after all of the extra lines, but before the item durability / item ID' (Last). The new Bundle Item Count in MiniHUD would be the Middle callback position.
  • New InventoryOverlayScreen system partially cloned from MiniHUD into MaLiLib.
  • New Interface: IInventoryOverlayHandler - This acts as the Screen Handler interface for the InventoryOverlayScreen; which also adds a Refresher interface under InventoryOverlay.Refresher; and the related IDataSyncer interface. These all work in tandem to create a more seamless Inventory Preview experience that can be used by all downstream mods; in theory. The IDataSyncer interface has enough default interfaces to be a simple Data Broker for the Single Player's Server World; and can then be added upon; and then simply 'plugged in' to the Screen Handler; basically.

Files

malilib-fabric-1.21.4-0.23.1.jar(1.04 MiB) Primary Download

Project members

masa

Owner

sakura-ryoko

Maintainer

Details

Licensed LGPL-3.0-only
Published a year ago
Updated 11 days ago