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 TypeMethodDescriptionBukkit.createInventory
(@Nullable InventoryHolder owner, int size) Creates an empty inventory of typeInventoryType.CHEST
with the specified size.Bukkit.createInventory
(@Nullable InventoryHolder owner, int size, @NotNull String title) Deprecated.Bukkit.createInventory
(@Nullable InventoryHolder owner, int size, @NotNull Component title) Creates an empty inventory of typeInventoryType.CHEST
with the specified size and title.Bukkit.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type) Creates an empty inventory with the specified type.Bukkit.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull String title) Deprecated.Bukkit.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull Component title) Creates an empty inventory with the specified type and title.Server.createInventory
(@Nullable InventoryHolder owner, int size) Creates an empty inventory of typeInventoryType.CHEST
with the specified size.Server.createInventory
(@Nullable InventoryHolder owner, int size, @NotNull String title) Deprecated.Server.createInventory
(@Nullable InventoryHolder owner, int size, @NotNull Component title) Creates an empty inventory of typeInventoryType.CHEST
with the specified size and title.Server.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type) Creates an empty inventory with the specified type.Server.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull String title) Deprecated.Server.createInventory
(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull Component 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.Modifier and TypeMethodDescriptionDoubleChest.getLeftSide()
DoubleChest.getLeftSide
(boolean useSnapshot) DoubleChest.getRightSide()
DoubleChest.getRightSide
(boolean useSnapshot) -
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
(@NotNull World world, @Nullable Entity entity, @Nullable InventoryHolder inventoryHolder, @NotNull LootTable lootTable, @NotNull LootContext lootContext, @NotNull 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.
Bukkit.createInventory(InventoryHolder, InventoryType, net.kyori.adventure.text.Component)