File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed
src/main/java/me/flame/menus/menu Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ package me .flame .menus .menu ;
2
+
3
+ import me .flame .menus .items .MenuItem ;
4
+ import org .bukkit .Material ;
5
+ import org .bukkit .inventory .ItemStack ;
6
+ import org .jetbrains .annotations .NotNull ;
7
+
8
+ public interface Decorator {
9
+ /**
10
+ * Fills the borders of the pages with a given item stack.
11
+ *
12
+ * @param itemStack the item stack to fill the pages with
13
+ */
14
+ void fillPageBorders (ItemStack itemStack );
15
+
16
+ /**
17
+ * Fills the borders of the pages with a given item stack.
18
+ *
19
+ * @param borderMaterial the item stack to fill the pages with
20
+ */
21
+ void fillPageBorders (Material borderMaterial );
22
+
23
+ /**
24
+ * Fills the borders of the pages with a given item stack.
25
+ *
26
+ * @param item the item stack to fill the pages with
27
+ */
28
+ void fillPageBorders (MenuItem item );
29
+
30
+ /**
31
+ * Fills the pages of a menu with a given item stack.
32
+ *
33
+ * @param borderMaterial the item stack to fill the pages with
34
+ */
35
+ void fillPages (Material borderMaterial );
36
+
37
+ /**
38
+ * Fills the pages of a menu with a given item stack.
39
+ *
40
+ * @param menuItem the item stack to fill the pages with
41
+ */
42
+ void fillPages (@ NotNull MenuItem menuItem );
43
+
44
+ /**
45
+ * Fills the pages of a menu with a given item stack.
46
+ *
47
+ * @param itemStack the item stack to fill the pages with
48
+ */
49
+ void fillPages (ItemStack itemStack );
50
+ }
You can’t perform that action at this time.
0 commit comments