Command Errors
object CommandErrors
Typed parse-error factories for the client argument types, mirroring the vanilla pattern of one DynamicCommandExceptionType per failure mode (see e.g. Vec3Argument.ERROR_NOT_COMPLETE). Unlike vanilla's Component.literal messages, the factories produce translatable components so the whole error sentence renders in the user's language.
Properties
Link copied to clipboard
%s = parameter name.
Link copied to clipboard
First %s = rejected value, second %s = parameter name.
Link copied to clipboard
First %s = rejected value, second %s = parameter name.
Link copied to clipboard
First %s = rejected value, second %s = the max keyword.
Link copied to clipboard
First %s = rejected value, second %s = type name.
Link copied to clipboard
%s = rejected module name.
Link copied to clipboard
%s = rejected player name.
Link copied to clipboard
%s = rejected friend name.