Changelog
- Add a
MathUtils
class IntBoundingBox
: Overrideequals()
andhashCode()
- Add a
DyeColorCode
enum - Add a few methods to
MathUtils
DataDump
: Also account the header/footer lengths- Add some
NBTUtils
methods WidgetDirectoryEntry
: Cache the icon in the constructor- Add a few util methods to
BlockUtils
,InfoUtils
,NBTUtils
- Various GUI changes and improvements and some class moves
- Added a
GuiIconBase
class, moved the malilib icon definitions there - Added a
getIconForEntry()
method to theIFileBrowserIconProvider
interface and made all the methods default methods - Added a
getIconProvider()
method to theWidgetFileBrowserBase
class - Added/moved the file browser icons from Litematica to malilib
- Moved a few GUI util classes
- Added a
- Add a
getEntryIconWidth()
method to theIFileBrowserIconProvider
interface - Add
FileRenamer
andFileDeleter
classes StringUtils
: Add astripExtensionIfMatches()
method- Add icon support to the dropdown widget
- Use the getter methods for the list widget position on creation
- Add a
NBTUtils.removeBlockPosFromTag()
method - Add a
MathUtils.roundUp()
method for longs NBTUtils
: Add and modify/rename some methods- Fix configs not calling the value change callback when reset
- Add a
Messages
class for common simple conditional strings - Add a new blend util method
ButtonGeneric
: Some icon rendering alignment improvements- Improve the hover text renderer positioning a bit
WidgetCheckBox
: Translate the hover strings- Fix clearing the search bar with a right click didn't refresh the entries
- Some
WidgetListBase
andWidgetFileBrowserBase
changes to allow custom sorting - Add
toJson()
andfromJson()
methods toIntBoundingBox
- Allow
Vec3i
argument inJsonUtils.blockPosToJson()
- Add a bit more margin to the dropdown widget
FileUtils
: Add agetFileNameExtension()
util method- Buttons: Allow outlines, right align improvements, width/rendering fixes
- Add a new render util method for batched rectangles/quads
- Add an accessor Mixin and util methods for inventory screens
- Improve the text plate render util method a bit
- Move the right align stuff and hover strings from
ButtonBase
toWidgetBase
- Add a new
WidgetRadioButton
widget - Add a system for mods to indicate block placement position changes/overrides
- Add a convenience method
isHeld()
to theIHotkey
interface GuiTextFieldGeneric
: Add agetHeight()
methodButtonBase
: Add an option to disable the click sound- Clean-up and small changes to widget hover text handling
- Add GUI debug options, plus some GUI refactoring and clean-up
- Make the file browser navigation widget actually navigatable
- To achieve this, the dropdown widget and the navigation widget and also a bunch of other GUI widget classes were refactored and improved and cleaned up
WidgetLabel
changes and clean-up and fixes for the previous commit's changes- GUI z-level refactor. The GUI widgets are now stacked on z levels.
- Note: Some things are still broken, most notably the text fields on any popup GUIs currently render behind the popup GUI. This will be fixed when the text fields are added as malilib widgets in the coming commits.
- Some more Z-level handling improvements and clean-up
- Widget fixes and improvements and clean-up
- Add a
WidgetItemStack
for rendering item stacks - Add
WidgetTextFieldBase
- a custom text field widget- Most of the base functionality works, but it's currently missing the callback and the validator and the segmented/colorized rendering
- Change all the old text fields into the new text field widget
- Also some related changes and fixes to make (hopefully) everything work correctly
- Fix and clean up the popup GUIs/dialogs. Fix a
WidgetLabel
constructor. - Refactor the
MessageRenderer
. Add text field error messages.- The
MessageRenderer
is now used for the text field error messages - Add integer and double text fields and use them where appropriate (there is no real difference, they just set the validator by default).
- Also fix an issue with setting the text field focus clearing the keyboard repeat status, depending on the order of the text fields
- Changed some of the widget methods a bit
- Prevent a crash from the translation method
- The
- Add a util method for getting a color integer from a hue value
- Text Fields: Reverse the
Ctrl + (Alt +) arrow key
word skipping behavior - Add new util methods to
Color4f
,PositionUtils
andRenderUtils
- Refactor the GUIs to take advantage of the proper z-ordering for hovering
- Add a couple of
JsonUtils
methods FileUtils.generateSimpleSafeFileName()
: Strip repeated and trailing underscores
Original build time: 2020-03-08 02:15:31 UTC+2
Files
malilib-1.12.2-0.10.0-dev.24.litemod(480.38 KiB) Primary
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Metadata
Release channel
ReleaseVersion number
0.10.0-dev.24Loaders
LiteLoader
Game versions
1.12.2Downloads
76Publication date
January 3, 2024 at 12:16 AMPublisher
masa
Owner