ArgumentTypeRegistry.registerArgumentType( new Identifier("tutorial", "uuid"), UuidArgumentType.class, ConstantArgumentSerializer.of(UuidArgumentType::uuid)); // The argument should be what will create the ArgumentType.