Class Page
java.lang.Object
com.zenith.feature.gui.Page
-
Constructor Summary
ConstructorsConstructorDescriptionPage(ContainerType type, net.kyori.adventure.text.Component title, List<Slot> contents) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidbooleaninthashCode()protected voidonClick(Gui gui, ContainerClick containerClick) protected voidonPageSwitch(Gui gui) protected voidprotected voidsendContents(Gui gui) voidsetContent(int index, Slot slot) voidsetContents(List<Slot> contents) voidsetStale()voidsetTitle(net.kyori.adventure.text.Component title) protected voidnet.kyori.adventure.text.Componenttitle()toString()type()
-
Constructor Details
-
Page
-
-
Method Details
-
setContents
-
setContent
-
type
-
title
public net.kyori.adventure.text.Component title() -
setTitle
public void setTitle(net.kyori.adventure.text.Component title) -
open
-
sendContents
-
tick
-
onClick
-
setStale
public void setStale() -
close
-
onPageSwitch
-
equals
-
canEqual
-
hashCode
-
toString
-