custom
fun <V> CommandCreator<*>.custom(name: String, type: ArgumentType<V>, creator: CommandCreator<RequiredArgumentBuilder<CommandSourceStack, V>>.() -> Unit = {}): CommandCreator<out ArgumentBuilder<CommandSourceStack, *>>
Registers a custom argument type to the DSL.
This function can be used to add support for custom data types in the command DSL.
Parameters
name
the name of the argument
type
the Brigadier com.mojang.brigadier.arguments.ArgumentType
creator
the configuration block for the command structure