Uses of Interface
tech.guilhermekaua.spigotboot.inventoryapi.context.SlotClickContext
Packages that use SlotClickContext
Package
Description
The spigot-boot inventory framework (3.0.0): view-based inventories with typed per-phase
contexts, reactive state, and declarative pagination.
-
Uses of SlotClickContext in tech.guilhermekaua.spigotboot.inventoryapi
Methods in tech.guilhermekaua.spigotboot.inventoryapi with parameters of type SlotClickContextModifier and TypeMethodDescriptionprotected voidView.onClick(@NotNull SlotClickContext context) View-level click fallback: runs after component handlers for top-container clicks and receives every bottom-inventory click withisPlayerInventory() == true. -
Uses of SlotClickContext in tech.guilhermekaua.spigotboot.inventoryapi.component
Method parameters in tech.guilhermekaua.spigotboot.inventoryapi.component with type arguments of type SlotClickContextModifier and TypeMethodDescription@NotNull ItemComponentBuilderItemComponentBuilder.onClick(@NotNull Consumer<SlotClickContext> handler) Sets the untyped click handler; it runs only when no per-ClickTypehandler matched the click.@NotNull ItemComponentBuilderItemComponentBuilder.onClick(@NotNull org.bukkit.event.inventory.ClickType type, @NotNull Consumer<SlotClickContext> handler) Sets the handler for one specific click type; it takes precedence over the untyped handler. -
Uses of SlotClickContext in tech.guilhermekaua.spigotboot.inventoryapi.internal.component
Methods in tech.guilhermekaua.spigotboot.inventoryapi.internal.component that return types with arguments of type SlotClickContextModifier and TypeMethodDescription@Nullable Consumer<SlotClickContext>ComponentInstance.handlerFor(@NotNull org.bukkit.event.inventory.ClickType type) Resolves the handler for a click: the matching per-type handler, else the untyped default handler, else null.Method parameters in tech.guilhermekaua.spigotboot.inventoryapi.internal.component with type arguments of type SlotClickContextModifier and TypeMethodDescription@NotNull ItemComponentBuilderItemComponentBuilderImpl.onClick(@NotNull Consumer<SlotClickContext> handler) @NotNull ItemComponentBuilderItemComponentBuilderImpl.onClick(@NotNull org.bukkit.event.inventory.ClickType type, @NotNull Consumer<SlotClickContext> handler) -
Uses of SlotClickContext in tech.guilhermekaua.spigotboot.inventoryapi.internal.context
Classes in tech.guilhermekaua.spigotboot.inventoryapi.internal.context that implement SlotClickContextModifier and TypeClassDescriptionfinal classContext for component click handlers andView.onClick: wraps one Bukkit click event.