fix 50%
This commit is contained in:
parent
547fe6d9bb
commit
8705cad578
118 changed files with 2714 additions and 4761 deletions
53
src/main/java/dev/loki/loparkour/util/PagedMenu.java
Normal file
53
src/main/java/dev/loki/loparkour/util/PagedMenu.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package dev.loki.loparkour.util;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Temporary stub for PagedMenu during migration
|
||||
*/
|
||||
public class PagedMenu {
|
||||
private final int rows;
|
||||
private final String title;
|
||||
private final List<MenuItem> items = new ArrayList<>();
|
||||
|
||||
public PagedMenu(int rows, String title) {
|
||||
this.rows = rows;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public PagedMenu addToDisplay(List<Item> items) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public PagedMenu item(int slot, Item item) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public PagedMenu nextPage(int slot, Item item) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public PagedMenu prevPage(int slot, Item item) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return this;
|
||||
}
|
||||
|
||||
public void page(int direction) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
}
|
||||
|
||||
public List<Object> getTotalToDisplay() {
|
||||
// TODO: Implement with LoLib GUI
|
||||
return new ArrayList<>();
|
||||
}
|
||||
|
||||
public void open(Player player) {
|
||||
// TODO: Implement with LoLib GUI
|
||||
player.sendMessage("§cМеню временно недоступно во время миграции");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue