Merge branch 'main' of ssh://gitty.interesting-corner.nl:2345/sem/mc-ic-server

This commit is contained in:
SemvdH
2026-02-03 13:48:31 +01:00
2 changed files with 10 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
# mc-ic-server # mc-ic-server
Interesting Corner Spigot plugin for the Minecraft server Interesting Corner Spigot plugins for the Minecraft server:
### IC-Core
Core plugin that handles the database and has base classes for creating a GUI.
### IC-Coords
Coordinates plugin to be able to save, load and teleport to different waypoints

View File

@@ -13,6 +13,9 @@ public class GUI implements InventoryHolder {
public static final int MAX_INVENTORY_SIZE = 54; // max size of inventory before pages are needed public static final int MAX_INVENTORY_SIZE = 54; // max size of inventory before pages are needed
public static final int DEFAULT_PAGE_SIZE = 45; // default items per page (excluding navigation row) public static final int DEFAULT_PAGE_SIZE = 45; // default items per page (excluding navigation row)
/**
* Inventory that will be displayed
*/
private Inventory inventory; private Inventory inventory;
private List<ItemStack> items; private List<ItemStack> items;
private int currentPage; private int currentPage;