register

fun LiteralArgumentBuilder<ClientCommandSourceStack>.register()(source)

Deprecated

Registering client commands is now callback based as well.

Replace with

setupRegistrationCallback()