You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/me/kodysimpson/simpapi/menu/PaginatedMenu.java
+16-3Lines changed: 16 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@
2
2
3
3
importorg.bukkit.ChatColor;
4
4
importorg.bukkit.Material;
5
+
importorg.bukkit.inventory.ItemStack;
6
+
importorg.jetbrains.annotations.Nullable;
5
7
8
+
importjava.util.HashMap;
6
9
importjava.util.List;
7
10
8
11
publicabstractclassPaginatedMenuextendsMenu {
@@ -34,15 +37,19 @@ public PaginatedMenu(PlayerMenuUtility playerMenuUtility) {
34
37
*/
35
38
publicabstractvoidloopCode(Objectobject);
36
39
40
+
/**
41
+
* @return A hashmap of items you want to be placed in the paginated menu border. This will override any items already placed by default. Key = slot, Value = Item
* Set the border and menu buttons for the menu. Override this method to provide a custom menu border
47
+
* Set the border and menu buttons for the menu. Override this method to provide a custom menu border or specify custom items in customMenuBorderItems()
0 commit comments