Uses of Interface
de.marcely.bedwars.tools.gui.ClickListener
-
Uses of ClickListener in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescription@Nullable ClickListener
PlayerOpenArenaEditorInSetupGUI.Button.getListener()
Returns the listener that handles what will happen when the player clicks on the button.Modifier and TypeMethodDescriptionPlayerOpenArenaEditorInSetupGUI.construct
(Plugin plugin, PlayerOpenArenaEditorInSetupGUI.ButtonCategory category, PlayerOpenArenaEditorInSetupGUI.ButtonType type, ItemStack icon, ClickListener listener) Constructs a new button on which players will be able to click on. -
Uses of ClickListener in de.marcely.bedwars.tools.gui
Modifier and TypeClassDescriptionstatic class
Wraps an existing ClickListener instance, where you may optionally override its listener methods.static class
An implementation of ClickListener that does effectively nothingModifier and TypeMethodDescriptiondefault int
ClickableGUI.addItem
(ItemStack is, ClickListener listener) default int
ClickableGUI.addItem
(ItemStack is, ClickListener listener, @Nullable AddItemCondition condition) default void
ClickableGUI.fill
(ItemStack is, ClickListener listener) Replaces any slot with the given item and listens for clicksdefault void
ClickableGUI.fillSpace
(ItemStack is, ClickListener listener) Replaces any empty/air slot with the given item and listens for clicksdefault void
ClickableGUI.setItem
(ItemStack is, int x, int y, ClickListener listener) Set an item at a specific x and y coordinate and listen whenever someone clicks on itdefault void
ClickableGUI.setItem
(ItemStack is, int slot, ClickListener listener) Set an item at a specific slot and listen whenever someone clicks on itModifierConstructorDescriptionGUIItem
(ItemStack is, ClickListener listener) GUIItem
(ItemStack is, ClickListener listener, @Nullable Object attachement) Proxy
(ClickListener listener)