Package org.bukkit.inventory
Interface InventoryHolder
-
- All Known Subinterfaces:
AbstractHorse,AbstractVillager,Barrel,BlastFurnace,BlockInventoryHolder,BrewingStand,Chest,ChestedHorse,Container,Dispenser,Donkey,Dropper,Furnace,Hopper,HopperMinecart,Horse,HumanEntity,Lectern,Llama,Mule,Pillager,Player,ShulkerBox,SkeletonHorse,Smoker,StorageMinecart,TraderLlama,Villager,WanderingTrader,ZombieHorse
- All Known Implementing Classes:
DoubleChest
public interface InventoryHolder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InventorygetInventory()Get the object's inventory.
-
-
-
Method Detail
-
getInventory
@NotNull Inventory getInventory()
Get the object's inventory.- Returns:
- The inventory.
-
-