Class ClickEvent

java.lang.Object
net.md_5.bungee.api.chat.ClickEvent

public final class ClickEvent extends Object
  • Constructor Details

    • ClickEvent

      public ClickEvent(ClickEvent.Action action, String value)
      Creates a new ClickEvent instance.
      Parameters:
      action - The type of action to perform on click.
      value - Depends on the action.
      See Also:
  • Method Details

    • getAction

      public ClickEvent.Action getAction()
      The type of action to perform on click.
    • getValue

      public String 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

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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