Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
MaLiLib

MaLiLib

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.

6.85M
2,786
Library
Utility
AboutChangelogVersions
All versions0.10.0-dev.24+pre.1

0.10.0-dev.24+pre.1

Download
Report

Changelog

  • Add a MathUtils class
  • IntBoundingBox: Override equals() and hashCode()
  • 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 the IFileBrowserIconProvider interface and made all the methods default methods
    • Added a getIconProvider() method to the WidgetFileBrowserBase class
    • Added/moved the file browser icons from Litematica to malilib
    • Moved a few GUI util classes
  • Add a getEntryIconWidth() method to the IFileBrowserIconProvider interface
  • Add FileRenamer and FileDeleter classes
  • StringUtils: Add a stripExtensionIfMatches() 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 and WidgetFileBrowserBase changes to allow custom sorting
  • Add toJson() and fromJson() methods to IntBoundingBox
  • Allow Vec3i argument in JsonUtils.blockPosToJson()
  • Add a bit more margin to the dropdown widget
  • FileUtils: Add a getFileNameExtension() 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 to WidgetBase
  • Add a new WidgetRadioButton widget
  • Add a system for mods to indicate block placement position changes/overrides
  • Add a convenience method isHeld() to the IHotkey interface
  • GuiTextFieldGeneric: Add a getHeight() method
  • ButtonBase: 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
  • 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 and RenderUtils
  • 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

Files

malilib-1.12.1-0.10.0-dev.24+pre.1.litemod(480.48 KiB) Primary
Download

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Metadata

Release channel

Release

Version number

0.10.0-dev.24+pre.1

Loaders

LiteLoader

Game versions

1.12.1

Downloads

219

Publication date

January 3, 2024 at 12:14 AM

Publisher

masa

masa

Owner

Version ID

Modrinth is open source.

main@aaf125c

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.