Package com.jackmeng.stl
Class stl_Commands.Type_DYNAMIC
java.lang.Object
com.jackmeng.stl.stl_Commands.Commands_Fx
com.jackmeng.stl.stl_Commands.Type_DYNAMIC
- All Implemented Interfaces:
stl_Callback<java.lang.String,java.lang.String>
- Enclosing class:
- stl_Commands
public static final class stl_Commands.Type_DYNAMIC extends stl_Commands.Commands_Fx
-
Constructor Summary
Constructors Constructor Description Type_DYNAMIC()
-
Method Summary
Modifier and Type Method Description stl_Commands.Commands_Type[]
associated_types()
java.lang.String
consume(java.lang.String argument)
Called by the original stl_Commands parser on every tick to parse and run another argument that was related to this argument.java.lang.String
sequence()
Methods inherited from class com.jackmeng.stl.stl_Commands.Commands_Fx
call, commandName, finished, matches, properName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Type_DYNAMIC
public Type_DYNAMIC()
-
-
Method Details
-
consume
public java.lang.String consume(java.lang.String argument)Description copied from class:stl_Commands.Commands_Fx
Called by the original stl_Commands parser on every tick to parse and run another argument that was related to this argument.- Specified by:
consume
in classstl_Commands.Commands_Fx
- Parameters:
argument
- The input argument- Returns:
- The next argument to be asked by stl_Commands. if this is null, the stl_Commands move on to the next Consumer (AKA argument)
-
sequence
public java.lang.String sequence()- Specified by:
sequence
in classstl_Commands.Commands_Fx
- Returns:
- The prefix of the command name. Should be standarized to '-','--',or'---''
-
associated_types
- Specified by:
associated_types
in classstl_Commands.Commands_Fx
-