Loot and block drops ask the Loot and BlockDrops services

EngineBukkitOps, WorldObjectPlacer and WorldBlockDropRouter no longer read loot classes: the modules name the tables and
return resolved ItemDrops, which BukkitItemStacks creates. LootResolver keeps the generic stream helpers; table
resolution moved to LootTables in iris:loot. IrisLootEvent carries the Loot sources.
This commit is contained in:
piexel committed 2026-10-09 22:02:47 +02:00
1 parent 8137f6dba9
commit 946ad61f7f
22 files changed
+714 -261

No files matched your search

@@ -42,4 +42,9 @@ public interface PlatformItem {
* on a mod loader. Never null. Only code inside the owning adapter may cast it.
*/
Object nativeHandle();
/**
* The damage a stack of this item takes before it breaks, 0 for an item that cannot be damaged.
*/
int maxDurability();
}