@NotThreadSafe public class HoverEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HoverEvent.HoverAction
An action that occurs when the player hovers over the chat message
|
Constructor and Description |
---|
HoverEvent() |
Modifier and Type | Method and Description |
---|---|
HoverEvent.HoverAction |
action()
Gets the action that occurs when the player hovers over the chat
|
HoverEvent |
action(HoverEvent.HoverAction action)
Sets the action associated with the player hovers over the chat
|
String |
value()
Gets the value of the event player hovers over the chat
|
HoverEvent |
value(String value)
Sets the value associated with the player hovers over the chat
|
public HoverEvent()
public HoverEvent action(HoverEvent.HoverAction action)
action
- the action to occurpublic HoverEvent value(String value)
value
- the action to occurpublic HoverEvent.HoverAction action()
Copyright © 2016. All rights reserved.