- 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
- 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 01:55:08 UTC+2
- Add modmenu lib detection support
- Add Mod Menu support
- Update the embedded Fabric resource loader version
- Update the mappings version
- Downgrade Gradle to 4.9, so it stops nuking the global cache
ClientPacketChannelHandler
: Support multiple handlers per channel- Add a
ConfigString
change needed by the Watson mod port by Arnevdl29 - Fix the config resetting on dimension change
Original build time: 2020-02-06 23:13:03 UTC+2
- Merge the LiteLoader 1.12.2 branch to the Forge 1.12.2 branch
This brings in the following changes since the previous Forge version 0.10.0-dev.21+pre2
:
- Move the
IConfigOptionListEntry
enums to their own package - Add a
getModName()
method to theIConfigHandler
interface - Add
getModName()
andsetModName()
methods to theIConfigBase
interface - Add a util method to draw 9-sliced textures
- Add a
ToastRenderer
and a keybind display popup/toast - Fix editing or resetting string list configs not calling
onValueChanged()
- Fix the
WidgetToast
life time argument not being used - Allow hotkeys without callbacks to cancel further processing when triggered
- Minor GUI fixes and clean-up
- Only show the keybind toast when an action triggered successfully (cancels further processing)
- Add a
setModName()
method to theIKeybind
interface - Add the
PacketPlitter
class from Carpet mod, needed for structure bounding boxes in recent Carpet mod versions WidgetDropDown
: Fix thesetPosition()
method not moving the scroll bar- Add an
EntityUtils
util class - Don't tint the 1.13+ uncolored Shulker Box preview background
LayerRange
: Add acopy()
method, plus some clean-upLayerRange
: Fix the "closest limit to player" layer range movement being derpyGuiBase#addLabel()
: Translate the passed label for the width calculation- Add a new render util method, rename a couple of old methods
PositionUtils
: Add some new util methods- Some small button refactoring/cleanup
- Add Int and Double value modifier button listeners
- Add a
WidgetColorIndicator
, and use that in the config GUIs - Color Editor: Add an alpha slider, fix the other values affecting the alpha channel
- Small fix to Render Layer edit GUI positioning, plus change one button label
- Add a
ConfigOptionListEntryBase
class - Modify the
KeyCallbackAdjustable
callback class to be a bit more flexible - Move
WidgetScrollBar
to the widgets package - Reset the color after drawing in some util methods
- Make the
JsonUtils.writejsonToFile()
method a bit more flexible
Original build time: 2019-12-17 19:47:03 UTC+2
- Fix various things
- Fix a mod init issue with dependent mods
- Fix the game overlay post render event firing on all event types
- Fix a GUI title rendering bug
- Fix the map rendering util method
- Change into using
TooltipEvent.Pre
, to get the mouse coordinates
Original build time: 2019-12-10 23:13:41 UTC+2