Package net.gcnt.additionsplus.main
Enum Action
- All Implemented Interfaces:
Serializable
,Comparable<Action>
,java.lang.constant.Constable
Enum class containing all action types and their information, as well as some handlers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic String
computeMathTags(String actionString)
boolean
containsTag(String actionString)
static String
static String
static Action
getBaseAction(String actionString)
long
getType()
boolean
hasAlias()
boolean
static String
static String
removeTags(String s)
static String
replaceRNGTag(String s)
boolean
static String[]
returnTagArguments(String s, Action tag, CustomAction customAction)
static Action
Returns the enum constant of this type with the specified name.static Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EVERYONE
-
COMMAND
-
MESSAGE
-
CONSOLE
-
CENTER
-
TITLE
-
LANGUAGE
-
ACTIONBAR
-
JSON
-
CONNECT
-
MONEY
-
SOUND
-
CUSTOMITEM
-
INFO
-
SAFELANDING
-
CUSTOMBOOK
-
KICK
-
TELEPORT
-
FLY
-
ALLOWFLY
-
FOOD
-
HEALTH
-
MENU
-
CLOSE
-
DELAY
-
PERMISSION
-
VGROUP
-
CHANCE
-
RNG
-
MATH
-
TARGET
-
KILL
-
CLEAR
-
CLEARCHAT
-
WEATHER
-
TIME
-
PLAYERWEATHER
-
PLAYERTIME
-
GAMEMODE
-
SPEED
-
WALKSPEED
-
FLYSPEED
-
PRICE
-
GIVE
-
TAKE
-
IMG
-
CHAT
-
VANISH
-
ADDTOLIST
-
REMOVEFROMLIST
-
CREATELIST
-
DELETELIST
-
ISINLIST
-
TARGETWORLD
-
RESOUREPACK
-
NOPERMISSION
-
NOVGROUP
-
ISCONSOLE
-
ISPLAYER
-
WORLD
-
RETURN
-
IF
-
PLACEHOLDERS
-
DISCORD
-
REGEX
-
SCRIPT
-
HTTPREQUEST
-
OPERATOR
-
RENAMEITEM
-
HOLDSITEM
-
HASEXPERIENCE
-
EXPERIENCE
-
HASLEVELS
-
LEVELS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
removeTag
-
removeTags
-
returnTagArguments
-
computeMathTags
-
replaceRNGTag
-
evaluateScriptTag
-
evaluateMathTag
-
getBaseAction
-
requirePlayer
public boolean requirePlayer() -
getType
-
hasAlias
public boolean hasAlias() -
isCheckAction
public boolean isCheckAction() -
getDelay
-
containsTag
-