Interface LootableEntityInventory

All Superinterfaces:
Lootable, LootableInventory
All Known Subinterfaces:
ChestBoat, HopperMinecart, StorageMinecart

@NullMarked public interface LootableEntityInventory extends LootableInventory
Represents an Inventory that can generate loot, such as Minecarts inside of Mineshafts
  • Method Details

    • getEntity

      Entity getEntity()
      Gets the entity that is lootable
      Returns:
      The Entity