| Package | Description |
|---|---|
| net.md_5.bungee.api.chat | |
| net.md_5.bungee.api.chat.hover.content |
| Modifier and Type | Method and Description |
|---|---|
HoverEvent.Action |
HoverEvent.getAction()
The action of this event.
|
static HoverEvent.Action |
HoverEvent.Action.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HoverEvent.Action[] |
HoverEvent.Action.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
HoverEvent.getClass(HoverEvent.Action action,
boolean array)
Gets the appropriate
Content class for an HoverEvent.Action for the
GSON serialization |
| Constructor and Description |
|---|
HoverEvent(HoverEvent.Action action,
BaseComponent[] value)
Deprecated.
|
HoverEvent(HoverEvent.Action action,
Content... contents)
Creates event with an action and a list of contents.
|
HoverEvent(HoverEvent.Action action,
List<Content> contents) |
| Modifier and Type | Method and Description |
|---|---|
abstract HoverEvent.Action |
Content.requiredAction()
Required action for this content type.
|
HoverEvent.Action |
Item.requiredAction() |
HoverEvent.Action |
Text.requiredAction() |
HoverEvent.Action |
Entity.requiredAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
Content.assertAction(HoverEvent.Action input)
Tests this content against an action
|
Copyright © 2012–2020 SpigotMC. All rights reserved.