mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 01:34:04 +00:00
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:
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();
|
||||
}
|
||||
Reference in new issue
Block a user