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 TypeMethodDescriptionBukkit.createInventory(@Nullable InventoryHolder owner, int size)Creates an empty inventory of typeInventoryType.CHESTwith the specified size.Bukkit.createInventory(@Nullable InventoryHolder owner, int size, @NotNull String title)Deprecated.Bukkit.createInventory(@Nullable InventoryHolder owner, int size, Component title)Creates an empty inventory of typeInventoryType.CHESTwith 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, 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.CHESTwith the specified size.Server.createInventory(@Nullable InventoryHolder owner, int size, @NotNull String title)Deprecated.Server.createInventory(@Nullable InventoryHolder owner, int size, Component title)Creates an empty inventory of typeInventoryType.CHESTwith 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, Component 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 TypeInterfaceDescriptioninterfaceRepresents a captured state of a Barrel.interfaceRepresents a captured state of a blast furnace.interfaceRepresents a captured state of a brewing stand.interfaceRepresents a captured state of a chest.interfaceRepresents a captured state of a container block.interfaceRepresents a captured state of a dispenser.interfaceRepresents a captured state of a dropper.interfaceRepresents a captured state of a furnace.interfaceRepresents a captured state of a hopper.interfaceRepresents a captured state of a lectern.interfaceRepresents a captured state of a ShulkerBox.interfaceRepresents a captured state of a smoker.Classes in org.bukkit.block that implement InventoryHolderMethods in org.bukkit.block that return InventoryHolderModifier and TypeMethodDescriptionDoubleChest.getLeftSide()DoubleChest.getLeftSide(boolean useSnapshot)DoubleChest.getRightSide()DoubleChest.getRightSide(boolean useSnapshot) -
Uses of InventoryHolder in org.bukkit.entity
Subinterfaces of InventoryHolder in org.bukkit.entityModifier and TypeInterfaceDescriptioninterfaceRepresents a Horse-like creature.interfaceRepresents a villager NPCinterfaceRepresents Horse-like creatures which can carry an inventory.interfaceRepresents a Donkey - variant ofChestedHorse.interfaceRepresents a Horse.interfaceRepresents a human entity, such as an NPC or a playerinterfaceRepresents a Llama.interfaceRepresents a Mule - variant ofChestedHorse.interfaceRepresents a Piglin.interfaceIllager entity.interfaceRepresents a player, connected or notinterfaceRepresents a SkeletonHorse - variant ofAbstractHorse.interfaceRepresents a trader Llama.interfaceRepresents a villager NPCinterfaceRepresents a wandering trader NPCinterfaceRepresents a ZombieHorse - variant ofAbstractHorse. -
Uses of InventoryHolder in org.bukkit.entity.minecart
Subinterfaces of InventoryHolder in org.bukkit.entity.minecartModifier and TypeInterfaceDescriptioninterfaceRepresents a Minecart with a Hopper inside itinterfaceRepresents 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(@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
Subinterfaces of InventoryHolder in org.bukkit.inventoryModifier and TypeInterfaceDescriptioninterfaceRepresents a block inventory holder - either a BlockState, or a regular Block.Methods in org.bukkit.inventory that return InventoryHolder
Bukkit.createInventory(InventoryHolder, InventoryType, net.kyori.adventure.text.Component)