File Details
HYTALEDEVLIB-0.2.0.jar
- R
- Jan 17, 2026
- 61.85 KB
- 39
- Early Access
File Name
HYTALEDEVLIB-0.2.0.jar
Supported Versions
- Early Access
Version 0.2.0 (2026-01-17)
Major Release - New Helper Classes
This release introduces three major new helper classes and significantly expands the library's capabilities for managing game state, items, and zones.
New Helper Classes
ZoneHelper
- Zone discovery tracking system with username-based storage
initializeZoneTracking()- Initialize zone tracking for a worldgetCurrentZone()- Get a player's current zonesetCurrentZone()- Set a player's current zoneisInZone()- Check if player is in a specific zonegetDiscoveredZones()- Get all zones a player has discovereddiscoverZone()- Mark a zone as discovered for a playerhasDiscoveredZone()- Check if player has discovered a specific zonegetPlayersInZone()- Find all players currently in a zonegetDiscoveredZoneCount()- Get count of zones discovered by playergetAllDiscoveredZones()- Get all zones discovered by any playergetZoneDiscoveryCount()- Get how many players discovered a zoneclearDiscoveredZones()- Clear a player's discovery progress- Thread-safe concurrent storage for multi-player support
- Integrates with
EcsEventHelper.onZoneDiscovery()for automatic tracking
BlockStateHelper
- Utilities for working with block states (chests, signs, containers)
hasState()- Check if a block has state datagetState()- Get block state at positionsetState()- Set block state at positionensureState()- Get or create block stateremoveState()- Remove block statemarkNeedsSave()- Mark state for persistence- Abstracts deprecated
BlockStateAPI for future compatibility - Essential for working with containers, signs, and other stateful blocks
ItemHelper
- Comprehensive item and container management utilities
createItemStack()- Create item stacks with quantitiesaddToContainer()- Add items to first available slotaddToContainerSlot()- Add items to specific slotfillContainer()- Fill container with multiple items sequentiallyaddToContainerRandom()- Add items to random available slotfillContainerRandom()- Fill container with items in random slotsremoveFromContainer()- Remove items from containercountItemInContainer()- Count specific items in containerhasSpaceInContainer()- Check if container has spacegetItemName()- Get display name of itemgetItemId()- Get ID from item stack- Random slot placement for loot distribution and variety
PlayerHelper Enhancements
getPlayerComponent()- Get player component from entity for ECS operationsgetPlayerSkin()- Get player's cosmetic appearance data (hair, face, clothing, etc.)- Access to player avatar customization data for UI and display purposes
UIHelper
- Custom page management and HUD control
openCustomPage()- Open custom UI pages for playerscloseCustomPage()- Close custom UI pagesshowHudComponents()- Show specific HUD elementshideHudComponents()- Hide specific HUD elementsfadeInCustomPage()- Fade in UI with smooth animationfadeOutCustomPage()- Fade out UI with smooth animationfadeCustomPage()- Custom fade with start/end opacity control- Smooth UI transitions using
UICommandBuilderand tick scheduling

