Class StatefulDeclarativeGui.State
java.lang.Object
com.ultikits.ultitools.abstracts.gui.declarative.engine.StatefulDeclarativeGui.State
- Enclosing class:
StatefulDeclarativeGui<T extends StatefulDeclarativeGui<T>.State>
The base class for a declarative GUI's state.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
gui
-
-
Constructor Details
-
State
public State()
-
-
Method Details
-
setState
Triggers a rebuild. -
getGui
Gets the associated GUI.- Returns:
- the GUI instance
-
getPlayer
@NotNull protected @NotNull org.bukkit.entity.Player getPlayer()Gets the player.- Returns:
- the player
-