Changelog
ChosenLib v1.3.0 – Changelog
New in this release
Major Utility Additions
- GuiUtils - Client-side GUI utility class for Minecraft modding:
- Screen positioning helpers (
centerX()
,centerY()
) - Color utilities (
rgba()
,rgb()
,withAlpha()
,hsvToRgb()
) - Drawing helpers (
drawRect()
,drawBorderedRect()
,drawGradient()
) - Texture rendering (
drawTexture()
) - Hit testing (
isPointInRect()
) - Progress bars (
drawProgressBar()
) - Color manipulation (
adjustBrightness()
)
- Screen positioning helpers (
Enhanced TextUtils
- Text manipulation:
truncate()
,toTitleCase()
,reverse()
,isPalindrome()
- Text validation:
isAlphanumeric()
,isValidEmail()
,removeSpecialChars()
- Text analysis:
wordCount()
,centerText()
,createTextBox()
- Visual elements:
progressBar()
- Create text-based progress bars - Advanced formatting:
combine()
,stripFormatting()
,format()
with multiple options - Clickable links:
clickable()
- Create clickable chat text with URLs
ItemUtils - Item Management
- Item validation:
isEmpty()
,isNotEmpty()
,isSameItem()
,isExactMatch()
- Item information:
getItemId()
,getDisplayName()
,getMaxStackSize()
- Durability utilities:
getDurability()
,isDamaged()
,getDamagePercentage()
- Item manipulation:
copyWithCount()
,isStackable()
General
- Internal version updated to 1.3.0.
- All utility classes are fully documented with JavaDoc.
- Improved code organization and structure.
- Fixed API compatibility issues for Minecraft 1.21.1.
- Proper client/server separation with GuiUtils in client source set.
No breaking changes. This release adds comprehensive GUI, text, and item utilities for enhanced mod development!
Dependencies
Files
chosenlib-1.3.0.jar(23.31 KiB) Primary Download