mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
[Ci skip] Forgot to delete this class
This commit is contained in:
parent
911f8aeceb
commit
f5bd880227
@ -1,39 +0,0 @@
|
||||
package me.mrCookieSlime.Slimefun.api;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import me.mrCookieSlime.CSCoreLibPlugin.PlayerRunnable;
|
||||
import me.mrCookieSlime.CSCoreLibPlugin.general.Inventory.ChestMenu;
|
||||
|
||||
/**
|
||||
* Guide Handlers are used to add "fake" categories to the Guide.
|
||||
*
|
||||
* @deprecated Soon we will simply allow to override the "opening" method of a Category instead.
|
||||
*
|
||||
* @author TheBusyBiscuit
|
||||
*
|
||||
*/
|
||||
@Deprecated
|
||||
public interface GuideHandler {
|
||||
|
||||
void addEntry(List<String> texts, List<String> tooltips);
|
||||
|
||||
PlayerRunnable getRunnable();
|
||||
|
||||
int getTier();
|
||||
|
||||
boolean trackHistory();
|
||||
|
||||
int next(Player p, int index, ChestMenu menu);
|
||||
|
||||
default PlayerRunnable getRunnable(boolean book) {
|
||||
return this.getRunnable();
|
||||
}
|
||||
|
||||
default void run(Player p, boolean survival, boolean book) {
|
||||
this.getRunnable(book).run(p);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user