File Details
HYTALEDEVLIB-0.4.1.jar
- R
- Jan 21, 2026
- 161.67 KB
- 986
- Early Access
File Name
HYTALEDEVLIB-0.4.1.jar
Supported Versions
- Early Access
Version 0.4.1
ContainerHelper - Item Duplication Fix
- FIXED: Item duplication when dragging items outside container UI
- Automatically removes dropped item entities when transactions are cancelled
- Uses
EntityHelper.removeNearbyItemEntities()to clean up dropped items - Schedules removal after 3 ticks to allow item entity to spawn
- Works with all transaction types including drag-outside-UI
EntityHelper - Item Entity Removal
- NEW:
removeNearbyItemEntities(world, position, itemId, quantity, radius)- Remove dropped item entities within radius - Uses Hytale's ECS (Entity Component System) for efficient entity queries
- Queries
EntityStorefor entities withItemComponent(dropped items) - Checks distance from center position and removes entities within radius
- Uses
CommandBuffer.removeEntity()for proper ECS-based removal
ItemHelper - Item Entity Management
- NEW:
getItemEntities(world)- Get all dropped item entities in the world - NEW:
getItemEntitiesByItemId(world, itemId)- Filter dropped items by item type - NEW:
getItemEntitiesInRadius(world, center, radius)- Get items within radius of position - NEW:
removeItemEntity(world, itemEntity)- Remove a specific dropped item - NEW:
removeAllItemEntities(world)- Clear all dropped items from world - NEW:
removeItemEntitiesByItemId(world, itemId)- Remove all items of specific type - NEW:
countItemEntities(world)- Count total dropped items - NEW:
countItemEntitiesByItemId(world, itemId)- Count items of specific type - NEW:
teleportItemEntity(world, itemEntity, position)- Teleport a specific item entity - NEW:
teleportItemEntity(world, itemEntity, x, y, z)- Teleport item to coordinates - NEW:
teleportItemEntitiesByItemId(world, itemId, position)- Teleport all items of type - NEW:
teleportItemEntitiesInRadius(world, center, radius, destination)- Teleport items in radius - NEW:
teleportAllItemEntities(world, position)- Teleport all dropped items - NEW:
ItemEntityclass - Represents dropped item with ref, itemId, quantity, and position
TitleHelper - Event Title System
- NEW: Display on-screen titles to players using Hytale's built-in title system
showMajorTitle(player, primaryText, secondaryText, durationSeconds)- Large prominent titlesshowMinorTitle(player, primaryText, secondaryText, durationSeconds)- Smaller subtle notificationsshowTitle(player, isMajor, primaryText, secondaryText, iconPath, duration, fadeIn, fadeOut)- Full controlshowTitleWithIcon(player, isMajor, primaryText, secondaryText, iconPath, duration)- Titles with iconshideTitle(player, fadeOutSeconds)- Hide title with fade animationclearTitle(player)- Instantly clear title- Convenience methods:
showNotification(player, text)- Quick 1-second notificationshowQuestUpdate(player, questName, objective)- 3-second quest titleshowBossTitle(player, bossName, subtitle)- 4-second boss encountershowZoneEntry(player, zoneName)- 2-second zone entryshowAchievement(player, achievementName)- 3-second achievement unlock

