| Package | Description |
|---|---|
| xyz.upperlevel.spigot.book |
| 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)
Deprecated.
suggest_command does not work in books, this was marked as "Working As Intended" by mojang: See MC-70317
|
Copyright © 2021. All rights reserved.