setupRegistrationCallback

fun LiteralArgumentBuilder<CommandSourceStack>.setupRegistrationCallback()(source)

Set up a callback which automatically registers this command on server startup.


@Environment(value = EnvType.CLIENT)
@JvmName(name = "setupRegistrationCallbackClient")
fun LiteralArgumentBuilder<ClientCommandSourceStack>.setupRegistrationCallback()(source)


@Environment(value = EnvType.CLIENT)
@JvmName(name = "setupRegistrationCallbackClient")
fun RegistrableCommand<ClientCommandSourceStack>.setupRegistrationCallback()(source)

Register this command (client-side).