The CustomCommandParameter interface in @minecraft/server.
Interface in @minecraft/server
import type { CustomCommandParameter } from '@minecraft/server';Properties
Section titled “Properties”name: string;type: CustomCommandParamType;enumName
Section titled “enumName”optional
enumName?: string;For CustomCommandParamType.Enum: the enum’s name.
Used by
Section titled “Used by”CustomCommand.mandatoryParameters, CustomCommand.optionalParameters