promotional bannermobile promotional banner

HTDevLib

A comprehensive utility library for Hytale plugin development, providing tested helpers and utilities that simplify common modding tasks.
Back to Files

HYTALEDEVLIB-0.4.3.jar

File nameHYTALEDEVLIB-0.4.3.jar
Uploader
ShaneeexDShaneeexD
Uploaded
Jan 31, 2026
Downloads
6.4K
Size
167.3 KB
File ID
7553790
Type
R
Release
Supported game versions
  • Early Access

What's new

LootHelper - Mob Loot System with Chance-Based Drops

  • NEW: registerMobLoot(world, entityTypeId, lootProvider) - Add custom drops to mob deaths
  • NEW: registerMobLootReplacement(world, entityTypeId, lootProvider) - Replace mob drops entirely
  • NEW: handleMobDeath(death, world) - Process mob loot from DeathHelper callback
  • NEW: spawnItemAtLocation(world, position, itemId, quantity, velocity) - Spawn items programmatically
  • NEW: clearMobLootTables(world) - Clear all mob loot tables
  • NEW: ItemDrop.withChance(itemId, quantity, dropChance) - Create chance-based drops (0.0-1.0)
  • NEW: ItemDrop.withRandomVelocityAndChance(itemId, quantity, dropChance) - Chance drops with scatter

This mod has no additional files