@minecraft
    正在准备搜索索引...

    枚举 CustomCommandErrorReason实验性

    Reason why custom command registration failed.

    索引

    枚举成员

    AlreadyRegistered: "AlreadyRegistered"

    Command name already registered.

    EnumDependencyMissing: "EnumDependencyMissing"

    Custom Command references an enum that has not been registered.

    NamespaceMismatch: "NamespaceMismatch"

    Supplied Custom Command namespace does not match previous registrations for this add-on.

    ParameterLimit: "ParameterLimit"

    Too many command parameters defined in CustomCommand.

    RegistryInvalid: "RegistryInvalid"

    Custom command registry can not be accessed after world initialized event.

    RegistryReadOnly: "RegistryReadOnly"

    Command parameters cannot be redefined during reload. Only the script closure itself can be changed.