Interface LootableBlockInventory

All Superinterfaces:
Lootable, LootableInventory
All Known Subinterfaces:
Barrel, Chest, Crafter, Dispenser, Dropper, Hopper, ShulkerBox

@NullMarked public interface LootableBlockInventory extends LootableInventory
Represents an Inventory that can generate loot, such as Chests inside of Fortresses and Mineshafts
  • Method Details

    • getBlock

      Block getBlock()
      Gets the block that is lootable
      Returns:
      The Block