Uses of Enum Class
io.github.thebusybiscuit.slimefun4.api.items.virtual.VirtualItemHandler.InventoryContext
Packages that use VirtualItemHandler.InventoryContext
Package
Description
This package provides a few "Services" that Slimefun uses.
-
Uses of VirtualItemHandler.InventoryContext in io.github.thebusybiscuit.slimefun4.api.items.virtual
Methods in io.github.thebusybiscuit.slimefun4.api.items.virtual that return VirtualItemHandler.InventoryContextModifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static VirtualItemHandler.InventoryContext[]VirtualItemHandler.InventoryContext.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in io.github.thebusybiscuit.slimefun4.api.items.virtual with parameters of type VirtualItemHandler.InventoryContextModifier and TypeMethodDescriptionVirtualItemHandler.allows(org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context) Decide whether a virtual stack may enter an empty slot in a given context.default intVirtualItemHandler.getMaxStackSize(org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context, int defaultMaxStackSize) Resolve the effective max stack size for the given stack. -
Uses of VirtualItemHandler.InventoryContext in io.github.thebusybiscuit.slimefun4.core.services
Methods in io.github.thebusybiscuit.slimefun4.core.services with parameters of type VirtualItemHandler.InventoryContextModifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStackItemStackService.addItem(org.bukkit.inventory.Inventory inventory, org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context, int... slots) ItemStackService.allows(org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context) booleanItemStackService.canInsertIntoEmptySlot(org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context) booleanItemStackService.fitAll(org.bukkit.inventory.Inventory inventory, org.bukkit.inventory.ItemStack[] items, VirtualItemHandler.InventoryContext context, int... slots) booleanItemStackService.fits(org.bukkit.inventory.Inventory inventory, org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context, int... slots) intItemStackService.getMaxStackSize(org.bukkit.inventory.ItemStack item, VirtualItemHandler.InventoryContext context, int defaultMaxStackSize)