Interface LootableEntityInventory

All Superinterfaces:
Lootable, LootableInventory
All Known Subinterfaces:
AcaciaChestBoat, BambooChestRaft, BirchChestBoat, CherryChestBoat, ChestBoat, DarkOakChestBoat, HopperMinecart, JungleChestBoat, MangroveChestBoat, OakChestBoat, PaleOakChestBoat, SpruceChestBoat, 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