public interface ParametersHelper
Modifier and Type | Method and Description |
---|---|
List<Object> |
readParameters(CommandReader commandReader)
Reads the parameters of a command.
|
void |
sendParams(CommandSender commandSender,
List<Object> params)
Sends the given parameters.
|
List<Object> readParameters(CommandReader commandReader) throws IOException
Method CommandReader.skipParameters()
must be called after to be ready to read the following command.
IOException
void sendParams(CommandSender commandSender, List<Object> params)
params
- list of parameters to send.