Package com.guflimc.brick.gui.spigot.api
Interface ISpigotHotbar
- All Known Implementing Classes:
SpigotHotbar
public interface ISpigotHotbar
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInteractEntityListener
(Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> listener) void
addInteractListener
(Consumer<org.bukkit.event.player.PlayerInteractEvent> listener) void
addInventoryClickListener
(Consumer<org.bukkit.event.inventory.InventoryClickEvent> listener) org.bukkit.inventory.ItemStack[]
items()
void
open
(org.bukkit.entity.Player player) void
setItem
(int index, org.bukkit.inventory.ItemStack itemStack) void
setItem
(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.entity.Player> onClick) void
setItem
(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.event.player.PlayerInteractEvent> interact, Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> interactEntity, Consumer<org.bukkit.event.inventory.InventoryClickEvent> click)
-
Method Details
-
setItem
void setItem(int index, org.bukkit.inventory.ItemStack itemStack) -
setItem
void setItem(int index, org.bukkit.inventory.ItemStack itemStack, Consumer<org.bukkit.entity.Player> onClick) -
setItem
-
items
org.bukkit.inventory.ItemStack[] items() -
open
void open(org.bukkit.entity.Player player) -
addInteractListener
-
addInteractEntityListener
void addInteractEntityListener(Consumer<org.bukkit.event.player.PlayerInteractEntityEvent> listener) -
addInventoryClickListener
-