程序包 org.bukkit.inventory

# 接口 InventoryHolder

所有已知子接口:
  `AbstractHorse`, `AbstractVillager`, `Allay`, `Barrel`, `BlastFurnace`, `BlockInventoryHolder`, `BrewingStand`, `Camel`, `Chest`, `ChestBoat`, `ChestedHorse`, `ChiseledBookshelf`, `Container`, `Crafter`, `DecoratedPot`, `Dispenser`, `Donkey`, `Dropper`, `Furnace`, `Hopper`, `HopperMinecart`, `Horse`, `HumanEntity`, `Jukebox`, `Lectern`, `Llama`, `Mule`, `Piglin`, `Pillager`, `Player`, `ShulkerBox`, `SkeletonHorse`, `Smoker`, `StorageMinecart`, `TraderLlama`, `Villager`, `WanderingTrader`, `ZombieHorse`

所有已知实现类:
  `DoubleChest`

public interface InventoryHolder

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull Inventory`
  `getInventory()`
  获取该对象的用户界面项目.

- ## 方法详细资料

  - ### getInventory

    @NotNull @NotNull Inventory getInventory()
    获取该对象的用户界面项目.

    原文:Get the object's inventory.

    返回:
      The inventory.