Uses of Interface
org.bukkit.inventory.InventoryHolder
Packages that use 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
Methods in org.bukkit with parameters of type InventoryHolderModifier 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
Subinterfaces of InventoryHolder in org.bukkit.blockModifier 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 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 lectern.interface
Represents a captured state of a ShulkerBox.interface
Represents a captured state of a smoker.Classes in org.bukkit.block that implement InventoryHolderMethods in org.bukkit.block that return InventoryHolder -
Uses of InventoryHolder in org.bukkit.entity
Subinterfaces of InventoryHolder in org.bukkit.entityModifier and TypeInterfaceDescriptioninterface
Represents a Horse-like creature.interface
Represents a villager NPCinterface
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
Subinterfaces of InventoryHolder in org.bukkit.entity.minecartModifier and TypeInterfaceDescriptioninterface
Represents a Minecart with a Hopper inside itinterface
Represents a minecart with a chest. -
Uses of InventoryHolder in org.bukkit.event.world
Methods in org.bukkit.event.world that return InventoryHolderModifier and TypeMethodDescriptionLootGenerateEvent.getInventoryHolder()
Get the inventory holder in which the loot was generated.Constructors in org.bukkit.event.world with parameters of type InventoryHolderModifierConstructorDescriptionLootGenerateEvent
(World world, Entity entity, InventoryHolder inventoryHolder, LootTable lootTable, LootContext lootContext, List<ItemStack> items, boolean plugin) -
Uses of InventoryHolder in org.bukkit.inventory
Subinterfaces of InventoryHolder in org.bukkit.inventoryModifier and TypeInterfaceDescriptioninterface
Represents a block inventory holder - either a BlockState, or a regular Block.Methods in org.bukkit.inventory that return InventoryHolderModifier and TypeMethodDescriptionInventory.getHolder()
Gets the block or entity belonging to the open inventory