接口 InventoryHolder

所有已知子接口:
AbstractHorse, Beacon, BrewingStand, Chest, ChestedHorse, Container, Dispenser, Donkey, Dropper, Furnace, Hopper, HopperMinecart, Horse, HumanEntity, Llama, Mule, Player, ShulkerBox, SkeletonHorse, StorageMinecart, Villager, ZombieHorse
所有已知实现类:
DoubleChest

public interface InventoryHolder
  • 方法概要

    修饰符和类型
    方法
    说明
    获取该对象的用户界面项目.
  • 方法详细资料

    • getInventory

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

      原文:Get the object's inventory.

      返回:
      The inventory.