Interface InventoryHolder

All Known Subinterfaces:
AbstractHorse, AbstractVillager, AcaciaChestBoat, Allay, BambooChestRaft, Barrel, BirchChestBoat, BlastFurnace, BlockInventoryHolder, BrewingStand, Camel, CherryChestBoat, Chest, ChestBoat, ChestedHorse, ChiseledBookshelf, Container, Crafter, DarkOakChestBoat, DecoratedPot, Dispenser, Donkey, Dropper, Furnace, Hopper, HopperMinecart, Horse, HumanEntity, Jukebox, JungleChestBoat, Lectern, Llama, MangroveChestBoat, Mule, OakChestBoat, PaleOakChestBoat, Piglin, Pillager, Player, ShulkerBox, SkeletonHorse, Smoker, SpruceChestBoat, 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.