Uses of Interface
org.bukkit.inventory.InventoryHolder
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes used to manipulate the voxels in a
world
,
including special states.Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Interfaces for various
Minecart
types.Classes involved in manipulating player inventories and item interactions.
-
Uses of InventoryHolder in org.bukkit
Modifier and TypeMethodDescriptionstatic Inventory
Bukkit.createInventory
(InventoryHolder owner, int size) Creates an empty inventory of typeInventoryType.CHEST
with the specified size.static Inventory
Bukkit.createInventory
(InventoryHolder owner, int size, String title) Creates an empty inventory of typeInventoryType.CHEST
with the specified size and title.static Inventory
Bukkit.createInventory
(InventoryHolder owner, InventoryType type) Creates an empty inventory with the specified type.static Inventory
Bukkit.createInventory
(InventoryHolder owner, InventoryType type, String title) Creates an empty inventory with the specified type and title.Server.createInventory
(InventoryHolder owner, int size) Creates an empty inventory of typeInventoryType.CHEST
with the specified size.Server.createInventory
(InventoryHolder owner, int size, String title) Creates an empty inventory of typeInventoryType.CHEST
with the specified size and title.Server.createInventory
(InventoryHolder owner, InventoryType type) Creates an empty inventory with the specified type.Server.createInventory
(InventoryHolder owner, InventoryType type, String title) Creates an empty inventory with the specified type and title. -
Uses of InventoryHolder in org.bukkit.block
Modifier and TypeInterfaceDescriptioninterface
Represents a captured state of a Barrel.interface
Represents a captured state of a blast furnace.interface
Represents a captured state of a brewing stand.interface
Represents a captured state of a chest.interface
Represents a captured state of a chiseled bookshelf.interface
Represents a captured state of a container block.interface
Represents a captured state of a dispenser.interface
Represents a captured state of a dropper.interface
Represents a captured state of a furnace.interface
Represents a captured state of a hopper.interface
Represents a captured state of a jukebox.interface
Represents a captured state of a lectern.interface
Represents a captured state of a ShulkerBox.interface
Represents a captured state of a smoker. -
Uses of InventoryHolder in org.bukkit.entity
Modifier and TypeInterfaceDescriptioninterface
Represents a Horse-like creature.interface
Represents a villager NPCinterface
An Allay.interface
Represents a Camel.interface
ABoat
with a chest.interface
Represents Horse-like creatures which can carry an inventory.interface
Represents a Donkey - variant ofChestedHorse
.interface
Represents a Horse.interface
Represents a human entity, such as an NPC or a playerinterface
Represents a Llama.interface
Represents a Mule - variant ofChestedHorse
.interface
Represents a Piglin.interface
Illager entity.interface
Represents a player, connected or notinterface
Represents a SkeletonHorse - variant ofAbstractHorse
.interface
Represents a trader Llama.interface
Represents a villager NPCinterface
Represents a wandering trader NPCinterface
Represents a ZombieHorse - variant ofAbstractHorse
. -
Uses of InventoryHolder in org.bukkit.entity.minecart
Modifier and TypeInterfaceDescriptioninterface
Represents a Minecart with a Hopper inside itinterface
Represents a minecart with a chest. -
Uses of InventoryHolder in org.bukkit.event.world
Modifier and TypeMethodDescriptionLootGenerateEvent.getInventoryHolder()
Get the inventory holder in which the loot was generated.ModifierConstructorDescriptionLootGenerateEvent
(World world, Entity entity, InventoryHolder inventoryHolder, LootTable lootTable, LootContext lootContext, List<ItemStack> items, boolean plugin) -
Uses of InventoryHolder in org.bukkit.inventory
Modifier and TypeInterfaceDescriptioninterface
Represents a block inventory holder - either a BlockState, or a regular Block.Modifier and TypeMethodDescriptionInventory.getHolder()
Gets the block or entity belonging to the open inventory