Package net.swofty.gui.inventory.item
Interface GUIQueryItem
- All Superinterfaces:
GUIClickableItem,GUIItem
-
Method Summary
Modifier and TypeMethodDescriptiondefault String[]lines()The preset lines on the sign GUIonQueryFinish(String query, SkyBlockPlayer player) Run when the player enters something into the sign guivoidrun(net.minestom.server.event.inventory.InventoryPreClickEvent e, SkyBlockPlayer player) Run when the player clicks this item
-
Method Details
-
run
Run when the player clicks this item- Specified by:
runin interfaceGUIClickableItem- Parameters:
e- the event of the click
-
onQueryFinish
Run when the player enters something into the sign gui- Parameters:
query- the string the player enters- Returns:
- the gui that should be opened back after this
-
lines
The preset lines on the sign GUI- Returns:
- an array that needs only 2 components
-