Package me.c7dev.dexterity.util
Class InteractionCommand
java.lang.Object
me.c7dev.dexterity.util.InteractionCommand
Stores information about a configured command that is to run when a player clicks a display
-
Constructor Summary
ConstructorDescriptionInteractionCommand
(String cmd) InteractionCommand
(org.bukkit.configuration.ConfigurationSection s) -
Method Summary
-
Constructor Details
-
InteractionCommand
-
InteractionCommand
public InteractionCommand(org.bukkit.configuration.ConfigurationSection s)
-
-
Method Details
-
getCmd
-
setCmd
-
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
-
getPermission
-
exec
public void exec(org.bukkit.entity.Player p, boolean right_click) -
serialize
-