Uses of Interface
org.bukkit.inventory.Inventory
-
Packages that use Inventory Package Description org.bukkit The root package of the Bukkit API, contains generalized API classes.org.bukkit.block Classes used to manipulate the voxels in aworld, including special states.org.bukkit.entity Interfaces for non-voxel objects that can exist in aworld, including all players, monsters, projectiles, etc.org.bukkit.event.inventory org.bukkit.inventory Classes involved in manipulating player inventories and item interactions.org.bukkit.loot Classes relevant to loot table manipulation and generation. -
-
Uses of Inventory in org.bukkit
Methods in org.bukkit that return Inventory Modifier and Type Method Description static @NotNull InventoryBukkit. createInventory(@Nullable InventoryHolder owner, int size)Creates an empty inventory of typeInventoryType.CHESTwith the specified size.static @NotNull InventoryBukkit. createInventory(@Nullable InventoryHolder owner, int size, @NotNull String title)Creates an empty inventory of typeInventoryType.CHESTwith the specified size and title.static @NotNull InventoryBukkit. createInventory(@Nullable InventoryHolder owner, @NotNull InventoryType type)Creates an empty inventory with the specified type.static @NotNull InventoryBukkit. createInventory(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull String title)Creates an empty inventory with the specified type and title.@NotNull InventoryServer. createInventory(@Nullable InventoryHolder owner, int size)Creates an empty inventory of typeInventoryType.CHESTwith the specified size.@NotNull InventoryServer. createInventory(@Nullable InventoryHolder owner, int size, @NotNull String title)Creates an empty inventory of typeInventoryType.CHESTwith the specified size and title.@NotNull InventoryServer. createInventory(@Nullable InventoryHolder owner, @NotNull InventoryType type)Creates an empty inventory with the specified type.@NotNull InventoryServer. createInventory(@Nullable InventoryHolder owner, @NotNull InventoryType type, @NotNull String title)Creates an empty inventory with the specified type and title. -
Uses of Inventory in org.bukkit.block
Methods in org.bukkit.block that return Inventory Modifier and Type Method Description @NotNull InventoryChest. getBlockInventory()Gets the inventory of the chest block represented by this block state.@NotNull InventoryContainer. getInventory()Gets the inventory of the block represented by this block state.@NotNull InventoryDoubleChest. getInventory()@NotNull InventoryLectern. getInventory()@NotNull InventoryContainer. getSnapshotInventory()Gets the captured inventory snapshot of this container.@NotNull InventoryLectern. getSnapshotInventory() -
Uses of Inventory in org.bukkit.entity
Methods in org.bukkit.entity that return Inventory Modifier and Type Method Description @NotNull InventoryHumanEntity. getEnderChest()Get the player's EnderChest inventory@NotNull InventoryAbstractVillager. getInventory()Gets this villager's inventory.Methods in org.bukkit.entity with parameters of type Inventory Modifier and Type Method Description @Nullable InventoryViewHumanEntity. openInventory(@NotNull Inventory inventory)Opens an inventory window with the specified inventory on the top and the player's inventory on the bottom. -
Uses of Inventory in org.bukkit.event.inventory
Methods in org.bukkit.event.inventory that return Inventory Modifier and Type Method Description @Nullable InventoryInventoryClickEvent. getClickedInventory()Gets the inventory corresponding to the clicked slot.@NotNull InventoryInventoryMoveItemEvent. getDestination()Gets the Inventory that the ItemStack is being put into@NotNull InventoryInventoryMoveItemEvent. getInitiator()Gets the Inventory that initiated the transfer.@NotNull InventoryInventoryEvent. getInventory()Gets the primary Inventory involved in this transaction@NotNull InventoryInventoryPickupItemEvent. getInventory()Gets the Inventory that picked up the item@NotNull InventoryInventoryMoveItemEvent. getSource()Gets the Inventory that the ItemStack is being taken fromConstructors in org.bukkit.event.inventory with parameters of type Inventory Constructor Description InventoryMoveItemEvent(@NotNull Inventory sourceInventory, @NotNull ItemStack itemStack, @NotNull Inventory destinationInventory, boolean didSourceInitiate)InventoryPickupItemEvent(@NotNull Inventory inventory, @NotNull Item item) -
Uses of Inventory in org.bukkit.inventory
Subinterfaces of Inventory in org.bukkit.inventory Modifier and Type Interface Description interfaceAbstractHorseInventoryAn interface to the inventory of anAbstractHorse.interfaceAnvilInventoryInterface to the inventory of an Anvil.interfaceBeaconInventoryInterface to the inventory of a Beacon.interfaceBrewerInventoryInterface to the inventory of a Brewing Stand.interfaceCartographyInventoryInterface to the inventory of a Cartography table.interfaceCraftingInventoryInterface to the crafting inventoriesinterfaceDoubleChestInventoryInterface to the inventory of a Double Chest.interfaceEnchantingInventoryInterface to the inventory of an Enchantment Table.interfaceFurnaceInventoryInterface to the inventory of a Furnace.interfaceGrindstoneInventoryInterface to the inventory of a Grindstone.interfaceHorseInventoryAn interface to the inventory of a Horse.interfaceLecternInventoryInterface to the inventory of a Lectern.interfaceLlamaInventoryAn interface to the inventory of aLlama.interfaceLoomInventoryInterface to the inventory of a Loom.interfaceMerchantInventoryRepresents a trading inventory between a player and a merchant.interfacePlayerInventoryInterface to the inventory of a Player, including the four armor slots and any extra slots.interfaceStonecutterInventoryInterface to the inventory of a Stonecutter.Methods in org.bukkit.inventory that return Inventory Modifier and Type Method Description abstract @NotNull InventoryInventoryView. getBottomInventory()Get the lower inventory involved in this transaction.@NotNull InventoryInventoryHolder. getInventory()Get the object's inventory.@Nullable InventoryInventoryView. getInventory(int rawSlot)Gets the inventory corresponding to the given raw slot ID.@NotNull InventoryDoubleChestInventory. getLeftSide()Get the left half of this double chest.@NotNull InventoryDoubleChestInventory. getRightSide()Get the right side of this double chest.abstract @NotNull InventoryInventoryView. getTopInventory()Get the upper inventory involved in this transaction. -
Uses of Inventory in org.bukkit.loot
Methods in org.bukkit.loot with parameters of type Inventory Modifier and Type Method Description voidLootTable. fillInventory(@NotNull Inventory inventory, @NotNull Random random, @NotNull LootContext context)Attempt to fill an inventory with this LootTable's loot.
-