Class StandaloneAction
java.lang.Object
com.kamikazejam.kamicommon.actions.StandaloneAction
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetClickOpenURL
(String url) setClickRunCommand
(String command) setClickSuggestCommand
(String suggestion) setHoverText
(String text)
-
Field Details
-
click
-
hover
-
-
Constructor Details
-
StandaloneAction
-
-
Method Details
-
setClickRunCommand
- Parameters:
command
- The command the player runs, when clicked (STARTS WITH '/')
-
setClickSuggestCommand
- Parameters:
suggestion
- The command/text to suggest to the player, when clicked
-
setClickOpenURL
- Parameters:
url
- The url to open, when clicked
-
setHoverText
- Parameters:
text
- The text to show when hovering
-