
ChosenLib 1.6.0
release4 ноября 2025 г.🚀 New in v1.6.0
Major New Utility Classes
-
FileUtils - File system utilities for safe file operations and data management:
- File operations:
readFile(),writeFile(),copyFile(),moveFile(),deleteFile() - Directory operations:
createDirectory(),listFiles() - File search:
searchFiles()
- File operations:
-
Command Framework - Easy command creation and management:
- Command Interface: A simple interface for creating commands.
- Command Manager: A centralized manager for registering commands.
General
- Internal version updated to 1.6.0
ChosenLib 1.5.1
release8 октября 2025 г.🚀 New in v1.5.1
This is a patch release that addresses a critical bug in the networking utility.
- NetworkUtils: Fixed an issue where networking methods were incompatible with the latest Fabric API version. The methods have been updated to use
CustomPayloadfor modern, type-safe packet handling. This is a breaking change for any mods that were using the old networking methods.
Read Full Changelog here: https://urmoit.github.io/ChosenLib/changelog.html or https://github.com/urmoit/ChosenLib/blob/main/Changelogs/CHANGELOG_v1.5.1.md
ChosenLib v1.5.0
release6 октября 2025 г.🚀 New in v1.5.0
Major New Utility Classes
- 🔧 AdvancedBlockOps - Enhanced block manipulation with safety checks and transactional editing
- 🤖 EntityAIUtils - AI utilities for custom mobs and advanced entity behaviors
- 💾 DataPersistence - World, player, and global data storage with compression
- ✨ EffectsUtils - Sound & particle effect utilities with timing control
- 🌐 AdvancedNetworking - Sophisticated packet handling with encryption and compression
- 🌍 DimensionUtils - Custom dimension management and portal systems
- 🔴 RedstoneUtils - Circuit analysis, automation, and logic gates
- 📊 PerformanceMonitor - Built-in profiling and optimization tools
Enhanced Existing Utilities
- WorldUtils - Transactional editing, undo system, pattern analysis
- EntityUtils - AI integration, enhanced pathfinding, memory system
- NetworkUtils - Reliable packets, compression, encryption
- ItemUtils - Data persistence, advanced validation, custom items
- TextUtils - Rich formatting, performance optimization, localization
Performance Improvements
- Multi-level caching (L1/L2/L3) with intelligent invalidation
- Batch operations for blocks, entities, packets, and items
- Smart object pooling and memory leak detection
Read Full Changelog here: https://urmoit.github.io/ChosenLib/changelog.html or https://github.com/urmoit/ChosenLib/blob/main/Changelogs/CHANGELOG_v1.5.0.md
ChosenLib 1.4.0
release6 сентября 2025 г.ChosenLib v1.4.0 – Changelog
New in this release
Major New Utility Classes
-
WorldUtils - World and block manipulation utilities:
- Block operations:
getBlockState(),setBlockState(),isPositionLoaded() - Area queries:
getBlocksInCube(),getBlocksInSphere(),getBlocksInArea() - Block finding:
findBlocks(),findNearestBlock(),replaceBlocks() - World properties:
getBiome(),getLightLevel(),canSeeSky() - Chunk utilities:
getChunk(),isChunkLoaded(),getChunkPos() - Fluid operations:
getFluidState(),hasFluid() - Entity queries:
getEntitiesInBox(),getEntitiesAround(),getNearestEntity()
- Block operations:
-
EntityUtils - Entity-related helper functions:
- Health management:
getHealth(),setHealth(),heal(),damage() - Status effects:
hasStatusEffect(),addStatusEffect(),removeStatusEffect() - Attributes:
getAttributeValue(),setAttributeBaseValue() - Teleportation:
teleport(),teleportToEntity() - Distance utilities:
getDistance(),isWithinDistance() - Entity finding:
getEntitiesInRadius(),findNearestPlayer() - Physics:
setVelocity(),launchTowards(),knockback() - Player operations:
sendMessage(),giveItem()
- Health management:
-
NetworkUtils - Networking and packet utilities:
- Packet creation:
createBuffer(),createSimplePacket(),createPositionPacket() - Player targeting:
sendToPlayer(),sendToPlayers(),sendToWorld() - Radius sending:
sendToPlayersInRadius() - Data serialization:
writeString(),writeBlockPos(),writeVec3d(),writeUuid() - Array support:
writeBooleanArray(),writeIntArray(),writeStringArray() - Safe operations:
safeBufferOperation(),hasReadableBytes()
- Packet creation:
Enhanced Existing Utilities
-
GuiUtils - Now server-side compatible with major enhancements:
- Server-side utilities:
centerX(),centerY(),rgba(),rgb(),withAlpha() - Color operations:
getRed(),getGreen(),getBlue(),getAlpha() - Mathematical:
isPointInRect(),rectanglesOverlap(),distance() - Color manipulation:
hsvToRgb(),adjustBrightness(),interpolateColor() - Progress utilities:
calculateProgressWidth() - Clamping:
clamp()for int, float, and double
- Server-side utilities:
-
ClientGuiUtils - Client-side rendering extensions:
- Screen utilities:
centerXOnScreen(),centerYOnScreen(),getScreenWidth() - Drawing:
drawRect(),drawBorderedRect(),drawGradient(),drawTexture() - Text rendering:
drawText(),drawCenteredText(),drawTooltip() - UI components:
drawButton(),drawCheckbox(),drawProgressBar() - Text utilities:
getTextWidth(),getTextHeight()
- Screen utilities:
-
ItemUtils - Performance and feature enhancements:
- Enhanced validation:
canMerge(),isDamageable(),isEnchanted() - Item lookup:
getItemById()for Identifier and String - Durability:
getDurabilityPercentage(),damageItem(),repairItem(),fullyRepairItem() - NBT operations:
getNbt(),setNbt(),hasNbt() - Enchantments:
getEnchantmentLevel(),hasEnchantment() - Inventory:
findFirst(),findAll(),countItem(),consumeItem(),insertStack() - Performance: Caching for
getItemId()andgetMaxStackSize()
- Enhanced validation:
-
TextUtils - Advanced text operations with performance improvements:
- Interactive text:
clickableCommand(),withTooltip(),interactiveText() - Text wrapping:
wrapText(),createMultiLineTextBox() - Validation:
isBlank(),matches()with pattern caching - Formatting:
formatNumber(),formatDecimal(),formatDuration() - Enhanced utilities:
removeSpecialCharsKeepSpaces(),join()for Lists - Progress bars:
progressBar()with percentage support - Performance: Cached regex patterns and formatting styles
- Interactive text:
Performance Optimizations
- Caching Systems:
- ItemUtils: Concurrent caching for item IDs and stack sizes
- TextUtils: Compiled regex pattern caching and pre-computed styles
- Thread-safe concurrent hash maps for all caches
- Cache statistics and management:
getCacheStats(),clearCache()
Command Improvements
- /chosenlib Command Enhancements:
- Updated to showcase all new v1.4.0 features
- Feature highlights for WorldUtils, EntityUtils, and NetworkUtils
- Improved formatting with success/info message types
- Enhanced user experience with comprehensive feature overview
General
- Internal version updated to 1.4.0
- All utility classes fully documented with comprehensive JavaDoc
- Extensive null safety checks and error handling
- Thread-safe operations across all utilities
- Backward compatibility maintained - no breaking changes
This is a major feature release introducing comprehensive world, entity, and networking utilities with significant performance improvements. All existing code continues to work unchanged and automatically benefits from performance enhancements!
ChosenLib 1.3.1
release6 сентября 2025 г.ChosenLib v1.3.1 – Changelog
New in this release
Chat Enhancements
- /chosenlib Command Improvements
- Added a clickable Modrinth link to the command output.
- Provides an easy way for players and developers to quickly access the Modrinth page directly from in-game chat.
General
- Internal version updated to 1.3.1.
- Minor improvements to command feedback and user experience.
No breaking changes. This release introduces a convenient Modrinth link button in chat for quicker access to the project page.
