Package sawfowl.commandpack.api.commands.raw.arguments
package sawfowl.commandpack.api.commands.raw.arguments
-
ClassDescriptionRawArgument<T>The interface is designed to simplify the creation of
RawSettings
type commands.
You can use it to create arguments for this commands, just like you do forCommand.Parameterized
commands.
UnlikeCommand.Parameterized
commands,RawSettings
commands have no problem with the availability of game objects, which are registered after the commands are registered.
However, adding autocomplete to RawSettings commands and then checking the arguments is very time-consuming.
Using this interface together with theRawCommand
interface saves you from having to do such time-consuming work.This class is designed to quickly create some arguments forRawSettings
commands.
Some more variants may be added in the future.The work of this interface is similar to that of theSupplier
interface.The work of this interface is similar to that of theSupplier
interface.