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
RawSettingstype commands.
You can use it to create arguments for this commands, just like you do forCommand.Parameterizedcommands.
UnlikeCommand.Parameterizedcommands,RawSettingscommands 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 theRawCommandinterface saves you from having to do such time-consuming work.This class is designed to quickly create some arguments forRawSettingscommands.
Some more variants may be added in the future.The work of this interface is similar to that of theSupplierinterface.The work of this interface is similar to that of theSupplierinterface.