public class GUITemplate extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
GUITemplate(int slots,
String title,
Map<List<Integer>,org.bukkit.inventory.ItemStack> items,
Map<List<Integer>,Consumer<org.bukkit.event.inventory.InventoryClickEvent>> handlers,
Map<String,Integer> systemHandlers) |
| Modifier and Type | Method and Description |
|---|---|
static GUITemplate |
fromConfig(org.bukkit.configuration.file.FileConfiguration config) |
Map<List<Integer>,Consumer<org.bukkit.event.inventory.InventoryClickEvent>> |
getHandlers() |
Map<List<Integer>,org.bukkit.inventory.ItemStack> |
getItems() |
int |
getSlots() |
Map<String,Integer> |
getSystemHandlers() |
String |
getTitle() |
GUITemplate |
setTitle(String newTitle) |
public static GUITemplate fromConfig(org.bukkit.configuration.file.FileConfiguration config)
public GUITemplate setTitle(String newTitle)
public int getSlots()
public String getTitle()
public Map<List<Integer>,Consumer<org.bukkit.event.inventory.InventoryClickEvent>> getHandlers()
Copyright © 2023. All rights reserved.