Tags
Creators
Details
Licensed LGPL-3.0-only
Published 3 years ago
Updated 2 months ago
All versions
0.10.0-dev.24+pre.1
Release
0.10.0-dev.24+pre.13 years ago 460
Compatibility
Minecraft: Java Edition
1.12.1
Platform
LiteLoader
Supported environments
Client-side
Changes
- Add a
MathUtilsclass IntBoundingBox: Overrideequals()andhashCode()- Add a
DyeColorCodeenum - Add a few methods to
MathUtils DataDump: Also account the header/footer lengths- Add some
NBTUtilsmethods 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
GuiIconBaseclass, moved the malilib icon definitions there - Added a
getIconForEntry()method to theIFileBrowserIconProviderinterface and made all the methods default methods - Added a
getIconProvider()method to theWidgetFileBrowserBaseclass - Added/moved the file browser icons from Litematica to malilib
- Moved a few GUI util classes
- Added a
- Add a
getEntryIconWidth()method to theIFileBrowserIconProviderinterface - Add
FileRenamerandFileDeleterclasses 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
Messagesclass 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
WidgetListBaseandWidgetFileBrowserBasechanges to allow custom sorting - Add
toJson()andfromJson()methods toIntBoundingBox - Allow
Vec3iargument 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
ButtonBasetoWidgetBase - Add a new
WidgetRadioButtonwidget - Add a system for mods to indicate block placement position changes/overrides
- Add a convenience method
isHeld()to theIHotkeyinterface 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
WidgetLabelchanges 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
WidgetItemStackfor 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
WidgetLabelconstructor. - Refactor the
MessageRenderer. Add text field error messages.- The
MessageRendereris 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 keyword skipping behavior - Add new util methods to
Color4f,PositionUtilsandRenderUtils - Refactor the GUIs to take advantage of the proper z-ordering for hovering
- Add a couple of
JsonUtilsmethods FileUtils.generateSimpleSafeFileName(): Strip repeated and trailing underscores
Original build time: 2020-03-08 01:55:08 UTC+2
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:GcWjdA9I:SjGToM73"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:GcWjdA9I:SjGToM73"
}

