@NotThreadSafe public class ClickEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ClickEvent.ClickAction
An action that occurs when the player clicks on the chat message
|
| Constructor and Description |
|---|
ClickEvent() |
| Modifier and Type | Method and Description |
|---|---|
ClickEvent.ClickAction |
action()
Obtains the action that occurs when the chat is clicked
|
ClickEvent |
action(ClickEvent.ClickAction action)
Sets the action that occurs when the player clicks the chat message
|
String |
value()
Obtains the value of the action that occurs when the chat is clicked
|
ClickEvent |
value(String value)
Sets the value of the action when the player clicks the chat message
|
public ClickEvent()
public ClickEvent action(ClickEvent.ClickAction action)
action - the action that occurs when the player clicks the chatpublic ClickEvent value(String value)
value - the value of the action that occurs when the player clicks the chatpublic ClickEvent.ClickAction action()
Copyright © 2016. All rights reserved.