SHARE
TWEET

FancyClickEvent.java

a guest Feb 15th, 2018 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class FancyClickEvent {
  2.  
  3.     public final static String runCommand = "run_command";
  4.     public final static String changePage = "change_page";
  5.  
  6.     private String clickEvent;
  7.     private String value;
  8.  
  9.     public FancyClickEvent(String event, String value) {
  10.         this.clickEvent = event;
  11.         this.value = value;
  12.     }
  13.  
  14.     public static FancyClickEvent fancyClickEvent(String event, String value) {
  15.         return new FancyClickEvent(event, value);
  16.     }
  17.  
  18.     public String getClickEvent() {
  19.         return clickEvent;
  20.     }
  21.  
  22.     public String getValue() {
  23.         return value;
  24.     }
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top