HYTALEDEVLIB-0.4.3.jar
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

