Package net.md_5.bungee.api.chat
Class ClickEvent
java.lang.Object
net.md_5.bungee.api.chat.ClickEvent
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionClickEvent(ClickEvent.Action action, String value) Creates a newClickEventinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe type of action to perform on click.getValue()Depends on the action.inthashCode()booleanReturns whether this click event is used for version above 1.21.4voidsetV1_21_5(boolean v1_21_5) Returns whether this click event is used for version above 1.21.4toString()
-
Constructor Details
-
ClickEvent
Creates a newClickEventinstance.- Parameters:
action- The type of action to perform on click.value- Depends on the action.- See Also:
-
-
Method Details
-
getAction
The type of action to perform on click. -
getValue
Depends on the action.- See Also:
-
isV1_21_5
public boolean isV1_21_5()Returns whether this click event is used for version above 1.21.4 -
toString
-
equals
-
hashCode
public int hashCode() -
setV1_21_5
public void setV1_21_5(boolean v1_21_5) Returns whether this click event is used for version above 1.21.4
-