Class InteractionCommand

java.lang.Object
me.c7dev.dexterity.util.InteractionCommand

public class InteractionCommand extends Object
Stores information about a configured command that is to run when a player clicks a display
  • Constructor Details

    • InteractionCommand

      public InteractionCommand(String cmd)
    • InteractionCommand

      public InteractionCommand(org.bukkit.configuration.ConfigurationSection s)
  • Method Details

    • getCmd

      public String getCmd()
    • setCmd

      public void setCmd(String cmd)
    • isLeft

      public boolean isLeft()
    • setLeft

      public void setLeft(boolean left)
    • isRight

      public boolean isRight()
    • setRight

      public void setRight(boolean right)
    • isByPlayer

      public boolean isByPlayer()
    • setByPlayer

      public void setByPlayer(boolean player)
    • setPermission

      public void setPermission(String s)
    • getPermission

      public String getPermission()
    • exec

      public void exec(org.bukkit.entity.Player p, boolean right_click)
    • serialize

      public Map<String,Object> serialize()