Interface InventoryHolder

All Known Subinterfaces:
AbstractHorse, AbstractVillager, Allay, Barrel, BlastFurnace, BlockInventoryHolder, BrewingStand, Camel, Chest, ChestBoat, ChestedHorse, ChiseledBookshelf, Container, Dispenser, Donkey, Dropper, Furnace, Hopper, HopperMinecart, Horse, HumanEntity, Jukebox, Lectern, Llama, Mule, Piglin, Pillager, Player, ShulkerBox, SkeletonHorse, Smoker, StorageMinecart, TraderLlama, Villager, WanderingTrader, ZombieHorse
All Known Implementing Classes:
DoubleChest

public interface InventoryHolder
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the object's inventory.
  • Method Details

    • getInventory

      @NotNull Inventory getInventory()
      Get the object's inventory.
      Returns:
      The inventory.