- Update to Minecraft 1.20.5 and 1.20.6 (by Sakura-Ryoko)
- Various changes due to vanilla code changes. See the git commit history or diff against 1.20.4 if you want more details: https://github.com/sakura-ryoko/malilib/commits/pre-rewrite/fabric/1.20.6-DEV/
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)
- At least
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
hashCode()
andequals()
toColor4f
(by Axia)- Fixes
ConfigColorList
falsely prompting resets for values that haven't changed
- Fixes
- 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
- 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
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
- 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, makerunCommand
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
JsonUtils
: Add a few new methodsStringListRendererWidget
: Rename one method. A few minor clean-ups elsewhere.- Add
hashCode()
andequals()
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 filteringDataListEntrySelectionHandler
: Add asetSelectedEntries()
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