attempted to start adding quests

This commit is contained in:
2022-05-01 21:48:52 +02:00
parent b07eebcfc8
commit 1ecf4508e8
21 changed files with 540 additions and 20 deletions
@@ -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);
}