File Details
HYTALEDEVLIB-0.1.4.jar
- R
- Jan 16, 2026
- 200.39 KB
- 35
- Early Access
File Name
HYTALEDEVLIB-0.1.4.jar
Supported Versions
- Early Access
Version 0.1.4 (2026-01-16)
New Features
EventHelper
- Added `onPlayerChat` - Detects chat messages with username and content
- Added `onPlayerDisconnect` - Tracks player disconnections with username
- Added `onCraftRecipe` - Detects item crafting via inventory transaction analysis (does not interfere with pickup/drop events)
EcsEventHelper
- Added `onBlockBreak` - Detects block breaking with position and block type (filters out "Empty" blocks)
- Added `onBlockPlace` - Detects block placement with position and item ID
- Added `onBlockDamage` - Tracks mining progress with damage values and tool tracking
- Added `onZoneDiscovery` - Detects map zone discoveries with complete zone metadata (name, region, major/minor, display settings)
InventoryHelper
- Added `giveItem` - Give items to players with quantity support
- Added `removeItem` - Remove items from inventory
- Added `hasItem` - Check if player has specific items
- Added `countItem` - Count items in inventory
- Added `getActiveHotbarItem` - Get currently selected item
- Added `clearInventory` - Clear player inventory
- Added `isInventoryFull` - Check inventory capacity
PlayerHelper
- Added `sendMessage` - Send messages to players
- Added `hasPermission` - Check player permissions
- Added `getGameMode` - Get player's game mode
- Added `isPlayer` - Verify if entity is a player
Bug Fixes
- Fixed `onItemDrop` to correctly report actual quantity dropped (not full stack size)
- Fixed `onItemPickup` to accurately track picked up quantities
- Fixed inventory transaction parsing for proper item quantity detection
Documentation
- Added comprehensive wiki pages for EventHelper, EcsEventHelper, InventoryHelper, and PlayerHelper
- Added usage examples and practical use cases for all helper methods
- Updated Home.md with new helper classes
Technical
- Improved transaction string parsing with regex patterns
- Added proper event filtering to distinguish crafting from regular pickups/drops
- Implemented ECS system registration helpers for block and zone events

