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

1.23M downloads
1,018 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...
  • Update to MC 1.21.1 (just version bumps)

Original build time: 2024-08-20 20:34:00 +0300

  • Restore some of the lang files
  • Fix config saving/loading issue on servers connected via BungeeCord

Original build time: 2024-07-27 05:13:58 +0300

  • As a test, remove all other lang files except en_us.json
    • Windows Defender is once again (falsely) flagging the 0.20.0 release as a trojan. No idea why, but as a test the other lang files were removed in this build to see if it doesn't like the russian translation for example.

If 0.20.0 works for you and doesn't get deleted by defender, then don't update to this version.

Original build time: 2024-07-24 16:47:19 +0300

  • Update to MC 1.21 (by Sakura-Ryoko and zly2006)
  • Add better language translations infrastructure (should be backwards compatible)
  • Update zh_cn language by s-yh-china
  • Add es_es language from typo_mc
  • Fix translations needing to contain a \\n for line breaks

Original build time: 2024-07-23 10:35:46 +0300

  • Fix a crash with newer FastUtils library versions, which are now used by the Ornithe installer

Original build time: 2024-07-14 14:18:08 +0300

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

  • 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.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

  • 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

  • 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


Project members

masa

Owner

Details

Licensed LGPL-3.0-only
Published 8 months ago
Updated a month ago