Package net.glowstone.command
Class CommandTarget.SelectorValue
java.lang.Object
net.glowstone.command.CommandTarget.SelectorValue
- Enclosing class:
- CommandTarget
Represents the value of a selector argument.
-
Constructor Summary
ConstructorDescriptionSelectorValue
(String value) Parses the arguments value from the given string. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
The value of the argument.boolean
Whether the argument is inverted (functionality should be done in reverse).
-
Constructor Details
-
SelectorValue
Parses the arguments value from the given string.- Parameters:
value
- the un-parsed value
-
-
Method Details
-
getValue
The value of the argument. -
isInverted
public boolean isInverted()Whether the argument is inverted (functionality should be done in reverse).
-