Package net.md_5.bungee.api.chat
Class ClickEventCustom
java.lang.Object
net.md_5.bungee.api.chat.ClickEvent
net.md_5.bungee.api.chat.ClickEventCustom
Click event which sends a custom payload to the server.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.md_5.bungee.api.chat.ClickEvent
ClickEvent.Action -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.md_5.bungee.api.chat.ClickEvent
getAction, getValue
-
Constructor Details
-
ClickEventCustom
- Parameters:
id- identifier for the event (lower case, no special characters)payload- custom payload
-
-
Method Details
-
getPayload
The custom payload. -
toString
- Overrides:
toStringin classClickEvent
-
equals
- Overrides:
equalsin classClickEvent
-
canEqual
- Overrides:
canEqualin classClickEvent
-
hashCode
public int hashCode()- Overrides:
hashCodein classClickEvent
-