blob: 1ffeabc8b3d9352305b25dbeccf0a4af335a1207 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
package me.fatpigsarefat.quests.obj;
import me.fatpigsarefat.quests.Quests;
import org.bukkit.inventory.ItemStack;
public enum Items {
BACK_BUTTON("gui.back-button"),
QUEST_LOCKED("gui.quest-locked-display"),
QUEST_COOLDOWN("gui.quest-cooldown-display"),
QUEST_COMPLETED("gui.quest-completed-display"),
PAGE_PREV("gui.page-prev"),
PAGE_NEXT("gui.page-next"),
PAGE_DESCRIPTION("gui.page-desc");
String path;
Items(String path) {
this.path = path;
}
public ItemStack getItem() {
return Quests.getInstance().getItemStack(path);
}
}
|