File Details
HYTALEDEVLIB-0.4.3.jar
- R
- Jan 31, 2026
- 167.27 KB
- 6.4K
- Early Access
File Name
HYTALEDEVLIB-0.4.3.jar
Supported Versions
- Early Access
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

