Package net.orbyfied.j8.command.argument
Class Argument
java.lang.Object
net.orbyfied.j8.command.AbstractNodeComponent
net.orbyfied.j8.command.argument.Argument
- All Implemented Interfaces:
Completer,Functional,Primary,NodeComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.orbyfied.j8.registry.Identifierprotected LinkedHashMap<String,Supplier<Object>> protected ArgumentType<?>Fields inherited from class net.orbyfied.j8.command.AbstractNodeComponent
node -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(Context context, SuggestionAccumulator suggestions, net.orbyfied.j8.util.StringReader reader) Should complete the current node string.voidnet.orbyfied.j8.registry.IdentifierArgumentType<?>getType()booleansetIdentifier(net.orbyfied.j8.registry.Identifier id) setType(ArgumentType<?> type) voidMethods inherited from class net.orbyfied.j8.command.AbstractNodeComponent
getNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.orbyfied.j8.command.NodeComponent
getNode
-
Field Details
-
identifier
protected net.orbyfied.j8.registry.Identifier identifier -
type
-
options
-
-
Constructor Details
-
Argument
-
-
Method Details
-
setOption
-
setOption
-
setIdentifier
-
getIdentifier
public net.orbyfied.j8.registry.Identifier getIdentifier() -
setType
-
getType
-
walked
- Specified by:
walkedin interfaceFunctional
-
execute
- Specified by:
executein interfaceFunctional
-
selects
-
complete
public void complete(Context context, SuggestionAccumulator suggestions, net.orbyfied.j8.util.StringReader reader) Description copied from interface:CompleterShould complete the current node string.
-