| Modifier and Type | Class and Description |
|---|---|
static class |
BookUtil.ClickAction.SimpleClickAction |
| Modifier and Type | Method and Description |
|---|---|
static BookUtil.ClickAction |
BookUtil.ClickAction.changePage(int page)
Creates a change_page action: when the player clicks the book page will be set at the value passed as argument
|
static BookUtil.ClickAction |
BookUtil.ClickAction.openUrl(String url)
Creates a open_utl action: when the player clicks the url passed as argument will open in the browser
|
static BookUtil.ClickAction |
BookUtil.ClickAction.runCommand(String command)
Creates a command action: when the player clicks, the command passed as parameter gets executed with the clicker as sender
|
static BookUtil.ClickAction |
BookUtil.ClickAction.suggestCommand(String command)
Creates a suggest_command action: when the player clicks, the book closes and the chat opens with the parameter written into it
|
Copyright © 2017. All rights reserved.