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

557.4k downloads
594 followers
Created2 years ago
Updated13 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
Filter channels...

0.19.0

by masa on Jun 13, 2024
Download

Note: This update is entirely the work of Sakura-Ryoko. I don't currently have any plans to update my mods anymore from the old "pre-rewrite" code for any MC versions after 1.20.4. And there is currently no ETA for if/when the "new code" might be ready, if ever.

Original build time: 2024-06-13 22:32:44 +0300

0.18.4-alpha.1

by masa on Jun 13, 2024
Download
  • GuiTextFieldGeneric: Remove the set/get cursor position methods entirely
    • Note: This change will crash at least Litematica versions older than 0.17.3

Note: There is no need to update to this version (or 0.18.3) unless you use for example the Lunar launcher, where any malilib-based screen that has a text field will crash due to a method name conflict with Mojmap names in versions before 0.18.3.

Original build time: 2024-06-04 23:39:36 +0300

TL;DR; Don't update to this version unless you use the Lunar launcher. Or if you have also updated Litematica to 0.17.3 or later (if you use it).

0.18.3

by masa on Jun 2, 2024
Download

0.18.2:

  • GuiTextFieldGeneric: Deprecate a few of the custom cursor position setter methods
    • At least setCursorPositionEnd() conflicts with a Mojmap name, leading to a recursive call induced crash when running in a Mojmap names environment
    • This change alone doesn't fix the issue entirely, but just prevents the crash, but then also possibly breaks the text field behavior with mods that still use these methods.
    • If these methods are called, they won't do their task anymore, but instead they will just print a warning message for the user to update the dependent mods to a version that doesn't use these methods anymore.
    • Notably you need to use Litematica 0.17.3+ if you use malilib 0.18.2+
      • (0.18.2 was not released for the end users, but it did go to the maven, so I bumped the version again to 0.18.3 instead of overwriting 0.18.2 with the final release version)

0.18.3:

  • Set an explicit MC version upper limit to 1.20.4, as this version won't work in 1.20.5 snapshots or later anymore

Original build time: 2024-06-02 23:25:46 +0300

0.18.1

by masa on Feb 10, 2024
Download
  • Add a new variant of the RenderUtils.renderMapPreview() method
    • This is required for MiniHUD 0.30.2+ and Tweakeroo 0.19.2+

Original build time: 2024-02-10 20:08:48 UTC+2

0.60.0-alpha.2

by masa on Jan 3, 2024
Download
  • Port to the Ornithe project on MC 1.12.2
    • This uses the Fabric mod loader, and the mappings from the Ornithe project

The rest of the change log since the malilib-liteloader-1.12.2-0.54.0.litemod build is to follow... and it will be long :pain:

Original build time: 2023-12-26 17:03:01 UTC+2

0.18.0

by masa on Jan 3, 2024
Download
  • Update to MC 1.20.4 (should also work on 1.20.3)

Original build time: 2023-12-09 20:42:17 UTC+2

0.18.0-beta.1

by masa on Jan 3, 2024
Download
  • Update to MC 1.20.3 snaphot 23w43b

Original build time: 2023-10-31 22:10:01 UTC+2

0.17.0

by masa on Jan 3, 2024
Download
  • Update to MC 1.20.2 (by Hendrix-Shen)
  • Change the network stuff to be more or less the way it was before the 1.20.2 update

Original build time: 2023-10-08 21:52:29 UTC+3

0.16.3

by masa on Jan 3, 2024
Download
  • Add a (hack?) fix for text field unfocus issues on click

Original build time: 2023-10-03 19:47:34 UTC+3

0.16.2

by masa on Jan 3, 2024
Download
  • Add hashCode() and equals() to Color4f (by Axia)
    • Fixes ConfigColorList falsely prompting resets for values that haven't changed
  • Fix keybindDebugging message printing before the pressed keys being updated
  • Add modifiers to the keybind debug messages
  • Pass the action value to the mouse and keyboard handling methods

Original build time: 2023-08-26 13:53:59 UTC+3

0.16.1

by masa on Jan 3, 2024
Download
  • InventoryUtils: Fix the areStacksEqualIgnoreDurability() method
  • Add a workaround for the GUI text render leaks that returned in 1.20 again...

Original build time: 2023-07-03 22:24:09 UTC+3

0.16.0

by masa on Jan 3, 2024
Download
  • Add a ConfigColorList (by fantahund)
  • Update to MC 1.20 (by Hendrix-Shen)
  • Fix some item and inventory util methods from the 1.20 update
  • Update the color list config edit screen and widget to 1.20 render stuff
  • Fix the text field focus on left click not working (1.20 stuff)
  • Update to MC 1.20.1 (just version bumps)

Original build time: 2023-06-17 01:51:29 UTC+3

0.15.4

by masa on Jan 3, 2024
Download
  • GuiConfigsBase: Fix using the wrong parent screen when closing the screen
    • Also add some missing annotations and remove an unused list
  • Fix warning spam in console/log from unsupported key presses
  • GuiColorEditorHSV: Remove the unused shader program (see GH #82)
  • Partially fix some long-standing screen render bugs
    • The hover text rendering is still buggy with pop-up screens, but it's too much time and effort to hack fix that in the old code, as it's already properly handled in the new code base...
  • Add a fallback multiplayer world name (non-Mixin hack fix for GH #107)
  • Screens: Fix hover text rendering: It doesn't render on background screens now

Original build time: 2023-05-03 17:26:23 UTC+3

0.15.3

by masa on Jan 3, 2024
Download
  • Fix text plate rendering (GH #121) (by vacla)

Original build time: 2023-04-12 20:28:46 UTC+3

0.15.2

by masa on Jan 3, 2024
Download
  • Serialise the axis in LayerRange correctly (GH #117) (by Sarun Intaralawan)
  • Update to MC 1.19.4 (by Tom Albrecht)

Original build time: 2023-03-18 20:19:28 UTC+2

0.14.1-pre.1

by masa on Jan 3, 2024
Download
  • Add Turkish translation strings (by Ege)
  • Add zh_cn localization (by plusls)
  • Improve the IME fix (by plusls)
    • Some mods run some slow code in the constructor, and it would cause the time check to fail

Original build time: 2023-01-30 21:07:49 UTC+2

0.14.0

by masa on Jan 3, 2024
Download
  • Switch from using build.properties to gradle.properties
  • Update to MC 1.19.3

**Original build time:**2022-12-08 22:20:49 UTC+2

0.54.0

by masa on Jan 3, 2024
Download
  • Add a debug config for showing the handler that requested input cancellation
  • HotkeyManagerImpl: Replace the CME hack fix with a better fix
  • Add a sendChatMessage Action, make runCommand Action prefix the arg with /
  • Add input cancellation by hotkeys to the Input Cancellation Debug feature

Original build time: 2022-08-12 22:32:01 UTC+3

0.13.0

by masa on Jan 3, 2024
Download
  • Update to MC 1.19.2 (just version bumps)

Original build time: 2022-08-07 16:39:26 UTC+3

0.53.0

by masa on Jan 3, 2024
Download
  • JsonUtils: Add a few new methods
  • StringListRendererWidget: Rename one method. A few minor clean-ups elsewhere.
  • Add hashCode() and equals() to a few "data" classes
  • Info Overlays: Move width related setting serialization to the base widget
  • DropDownListWidget: Fix the search string not being case-insensitive
  • Info Overlay: Minor clean-up
  • DataListWidget: Minor optimization to entry filtering
  • DataListEntrySelectionHandler: Add a setSelectedEntries() method, rename old
  • Add an option to print the stack trace when certain errors are logged/printed
  • BackupUtils: Don't indicate failure if the source file doesn't exist yet

Original build time: 2022-08-02 20:19:03 UTC+3


Project members

masa

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID