Package de.delinkedde.mobarenareborn.gui
Klasse Menu
java.lang.Object
de.delinkedde.mobarenareborn.gui.Menu
- Bekannte direkte Unterklassen:
ClassSelectionMenu
A simple chest-inventory menu with per-slot click actions.
Subclasses populate the menu in their constructor with setItem(int, ItemStack, Consumer). The MenuManager opens menus, cancels their clicks (so items cannot be taken)
and dispatches clicks to the registered actions.
-
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedMenu(@NotNull net.kyori.adventure.text.Component title, int rows) -
Methodenübersicht
-
Konstruktordetails
-
Menu
protected Menu(@NotNull @NotNull net.kyori.adventure.text.Component title, int rows) - Parameter:
title- the menu titlerows- the number of rows (1-6)
-
-
Methodendetails