Type alias listing all types of command argument description objects,
that can be put into the args
array in CustomCommandBuilder.addOverload.
Type alias declaring a description object template for the command argument of boolean type.
Type alias declaring a description object template for the command argument of entity selector type.
Type alias declaring a description object template for the command argument of floating point type.
Type alias declaring a description object template for the command argument of floating point coordinates position type.
Type alias declaring a description object template for the command argument of integer type.
Type alias declaring a description object template for the command argument of JSON object type.
Type alias declaring a description object template for the command argument of literal type.
A literal is one specific word that must be written into the chat command line,
like list
in /tickingarea list
or clear
in /effect visualstudiodan clear
Type alias declaring a description object template for the command argument of message type. Same as StringArgument, but must be put as a last argument of the command overload, as it'll grab all the rest of the command text to its string value.
Type alias declaring a description object template for the command argument of player selector type.
Type alias declaring a description object template for the command argument of integer coordinates position type.
Representation of relative float argument in args
parameter
of ExecuteCallback.
It's a function that optionally takes a center
value
to add it to the specified floating point value,
if the caller used ~
token before it.
Type alias declaring a description object template for the command argument of relative float type
(~VALUE
, where ~
is the center value you choose in your code).
Type alias declaring a description object template for the command argument of string type.
Initializes new custom chat command.
command's name that will have to be put after a slash
command's permission level, defaults to 0 (all players can use this command)
object to describe your custom chat command, and then call its register
method to register the command
Same as KEX.CommandsModule.newEnum.
object to add enum's key-value pairs one by one and then call its register
method to register the enum itself
Same as KEX.CommandsModule.newStringEnum.
object to add enum values one by one and then call its register
method to register the enum itself
Generated using TypeDoc
Extension for InnerCore's Commands module adding custom chat commands registration API, alternative to KEX.CommandsModule, having the structure which is more convenient for JavaScript development.
3.0