Package com.enhancedechest.gui
Class LogMenuHolder
java.lang.Object
com.enhancedechest.gui.LogMenuHolder
- All Implemented Interfaces:
org.bukkit.inventory.InventoryHolder
Marker holder for the
/ee log <player> viewer: a read-only, paged list of a player's chest
OPEN/CLOSE events. Every interaction is cancelled by LogMenuListener;
clicking an event pane opens that event's snapshot, and the bottom-row controls page through the log.
The holder carries the paging state and a slot → LogEntry map so the listener can act on a
click without re-querying: an entry slot fetches that snapshot, a control slot re-opens an adjacent page.
-
Constructor Details
-
LogMenuHolder
-
-
Method Details
-
entryAt
The event whose pane sits inslot, ornullif that slot holds no event pane. -
getInventory
@NotNull public @NotNull org.bukkit.inventory.Inventory getInventory()- Specified by:
getInventoryin interfaceorg.bukkit.inventory.InventoryHolder
-