Enum Action

java.lang.Object
java.lang.Enum<Action>
net.gcnt.additionsplus.main.Action
All Implemented Interfaces:
Serializable, Comparable<Action>, java.lang.constant.Constable

public enum Action extends Enum<Action>
Enum class containing all action types and their information, as well as some handlers.
  • Enum Constant Details

    • EVERYONE

      public static final Action EVERYONE
    • COMMAND

      public static final Action COMMAND
    • MESSAGE

      public static final Action MESSAGE
    • CONSOLE

      public static final Action CONSOLE
    • CENTER

      public static final Action CENTER
    • TITLE

      public static final Action TITLE
    • LANGUAGE

      public static final Action LANGUAGE
    • ACTIONBAR

      public static final Action ACTIONBAR
    • JSON

      public static final Action JSON
    • CONNECT

      public static final Action CONNECT
    • MONEY

      public static final Action MONEY
    • SOUND

      public static final Action SOUND
    • CUSTOMITEM

      public static final Action CUSTOMITEM
    • INFO

      public static final Action INFO
    • SAFELANDING

      public static final Action SAFELANDING
    • CUSTOMBOOK

      public static final Action CUSTOMBOOK
    • KICK

      public static final Action KICK
    • TELEPORT

      public static final Action TELEPORT
    • FLY

      public static final Action FLY
    • ALLOWFLY

      public static final Action ALLOWFLY
    • FOOD

      public static final Action FOOD
    • HEALTH

      public static final Action HEALTH
    • CLOSE

      public static final Action CLOSE
    • DELAY

      public static final Action DELAY
    • PERMISSION

      public static final Action PERMISSION
    • VGROUP

      public static final Action VGROUP
    • CHANCE

      public static final Action CHANCE
    • RNG

      public static final Action RNG
    • MATH

      public static final Action MATH
    • TARGET

      public static final Action TARGET
    • KILL

      public static final Action KILL
    • CLEAR

      public static final Action CLEAR
    • CLEARCHAT

      public static final Action CLEARCHAT
    • WEATHER

      public static final Action WEATHER
    • TIME

      public static final Action TIME
    • PLAYERWEATHER

      public static final Action PLAYERWEATHER
    • PLAYERTIME

      public static final Action PLAYERTIME
    • GAMEMODE

      public static final Action GAMEMODE
    • SPEED

      public static final Action SPEED
    • WALKSPEED

      public static final Action WALKSPEED
    • FLYSPEED

      public static final Action FLYSPEED
    • PRICE

      public static final Action PRICE
    • GIVE

      public static final Action GIVE
    • TAKE

      public static final Action TAKE
    • IMG

      public static final Action IMG
    • CHAT

      public static final Action CHAT
    • VANISH

      public static final Action VANISH
    • ADDTOLIST

      public static final Action ADDTOLIST
    • REMOVEFROMLIST

      public static final Action REMOVEFROMLIST
    • CREATELIST

      public static final Action CREATELIST
    • DELETELIST

      public static final Action DELETELIST
    • ISINLIST

      public static final Action ISINLIST
    • TARGETWORLD

      public static final Action TARGETWORLD
    • RESOUREPACK

      public static final Action RESOUREPACK
    • NOPERMISSION

      public static final Action NOPERMISSION
    • NOVGROUP

      public static final Action NOVGROUP
    • ISCONSOLE

      public static final Action ISCONSOLE
    • ISPLAYER

      public static final Action ISPLAYER
    • WORLD

      public static final Action WORLD
    • RETURN

      public static final Action RETURN
    • IF

      public static final Action IF
    • PLACEHOLDERS

      public static final Action PLACEHOLDERS
    • DISCORD

      public static final Action DISCORD
    • REGEX

      public static final Action REGEX
    • SCRIPT

      public static final Action SCRIPT
    • HTTPREQUEST

      public static final Action HTTPREQUEST
    • OPERATOR

      public static final Action OPERATOR
    • RENAMEITEM

      public static final Action RENAMEITEM
    • HOLDSITEM

      public static final Action HOLDSITEM
    • HASEXPERIENCE

      public static final Action HASEXPERIENCE
    • EXPERIENCE

      public static final Action EXPERIENCE
    • HASLEVELS

      public static final Action HASLEVELS
    • LEVELS

      public static final Action LEVELS
  • Method Details

    • values

      public static Action[] 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

      public static Action valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • removeTag

      public static String removeTag(String s, Action c)
    • removeTags

      public static String removeTags(String s)
    • returnTagArguments

      public static String[] returnTagArguments(String s, @Nullable Action tag, @Nullable CustomAction customAction)
    • computeMathTags

      public static String computeMathTags(String actionString)
    • replaceRNGTag

      public static String replaceRNGTag(String s)
    • evaluateScriptTag

      public static String evaluateScriptTag(String s)
    • evaluateMathTag

      public static String evaluateMathTag(String s)
    • getBaseAction

      public static Action getBaseAction(String actionString)
    • requirePlayer

      public boolean requirePlayer()
    • getType

      public ActionType getType()
    • hasAlias

      public boolean hasAlias()
    • isCheckAction

      public boolean isCheckAction()
    • getDelay

      public long getDelay(String s)
    • containsTag

      public boolean containsTag(String actionString)