Class CommandTarget.SelectorValue

java.lang.Object
net.glowstone.command.CommandTarget.SelectorValue
Enclosing class:
CommandTarget

public static class CommandTarget.SelectorValue extends Object
Represents the value of a selector argument.
  • Constructor Details

    • SelectorValue

      public SelectorValue(String value)
      Parses the arguments value from the given string.
      Parameters:
      value - the un-parsed value
  • Method Details

    • getValue

      public String getValue()
      The value of the argument.
    • isInverted

      public boolean isInverted()
      Whether the argument is inverted (functionality should be done in reverse).