Interface FinishConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used by the TextInputGUI and is called when a player clicks on the submit-item
-
Method Summary
-
Method Details
-
accept
The method called when the player clicks on the submit-item- Parameters:
finalText- The text the player enteredabort- Whether the player aborted, e.g. by closing the Inventory- Returns:
- true if the inventory should get closed
-