/* * Decompiled with CFR 0.152. * * Could not load the following classes: * com.mojang.authlib.minecraft.UserApiService */ package net.minecraft.client.multiplayer; import com.mojang.authlib.minecraft.UserApiService; import java.nio.file.Path; import java.util.Optional; import java.util.concurrent.CompletableFuture; import net.minecraft.client.User; import net.minecraft.client.multiplayer.AccountProfileKeyPairManager; import net.minecraft.world.entity.player.ProfileKeyPair; public interface ProfileKeyPairManager { public static final ProfileKeyPairManager EMPTY_KEY_MANAGER = new ProfileKeyPairManager(){ @Override public CompletableFuture> prepareKeyPair() { return CompletableFuture.completedFuture(Optional.empty()); } @Override public boolean shouldRefreshKeyPair() { return false; } }; public static ProfileKeyPairManager create(UserApiService userApiService, User user, Path gameDirectory) { return new AccountProfileKeyPairManager(userApiService, user.getProfileId(), gameDirectory); } public CompletableFuture> prepareKeyPair(); public boolean shouldRefreshKeyPair(); }