attempted to start adding quests
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package com.alttd.altitudequests.gui;
|
||||
|
||||
public class BookGUI {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.alttd.altitudequests.gui;
|
||||
|
||||
import net.kyori.adventure.inventory.Book;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.Inventory;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.UUID;
|
||||
|
||||
public interface GUI {
|
||||
HashMap<UUID, GUI> GUIByUUID = new HashMap<>();
|
||||
|
||||
void open(Player player);
|
||||
|
||||
GUIAction getGuiAction(int slot);
|
||||
|
||||
Inventory getInventory();
|
||||
|
||||
Book getBook();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package com.alttd.altitudequests.gui;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
public interface GUIAction {
|
||||
void click(Player player);
|
||||
}
|
||||
Reference in New Issue
Block a user