| Modifier and Type | Interface and Description |
|---|---|
static interface |
SimpleForm.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SimpleForm.Builder |
builder() |
List<ButtonComponent> |
getButtons() |
String |
getContent() |
String |
getTitle() |
static SimpleForm |
of(String title,
String content,
List<ButtonComponent> buttons) |
SimpleFormResponse |
parseResponse(String response)
Parses the method into something provided by the form implementation, which will make the
data given by the Bedrock client easier to handle.
|
getJsonData, getResponseHandler, getType, isClosed, setResponseHandlerstatic SimpleForm.Builder builder()
static SimpleForm of(String title, String content, List<ButtonComponent> buttons)
String getTitle()
String getContent()
List<ButtonComponent> getButtons()
SimpleFormResponse parseResponse(String response)
FormparseResponse in interface Formresponse - the raw data given by the Bedrock clientCopyright © 2020 GeyserMC. All rights reserved.