Class ServerBlacklistBypass
java.lang.Object
com.viaversion.viafabricplus.bedrock.protocoltranslator.network.ServerBlacklistBypass
- All Implemented Interfaces:
com.viaversion.viaversion.api.connection.StorableObject
public final class ServerBlacklistBypass
extends Object
implements com.viaversion.viaversion.api.connection.StorableObject
Carries explicit warning consent into one newly created connection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidconnectOnce(net.minecraft.client.multiplayer.resolver.ServerAddress address, Runnable connect) ConnectScreen creates its worker synchronously; the worker retains its own consent flag.static booleanisConfirmed(net.minecraft.client.multiplayer.resolver.ServerAddress address) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.viaversion.viaversion.api.connection.StorableObject
onRemove
-
Constructor Details
-
ServerBlacklistBypass
public ServerBlacklistBypass()
-
-
Method Details
-
isConfirmed
public static boolean isConfirmed(net.minecraft.client.multiplayer.resolver.ServerAddress address) -
connectOnce
public static void connectOnce(net.minecraft.client.multiplayer.resolver.ServerAddress address, Runnable connect) ConnectScreen creates its worker synchronously; the worker retains its own consent flag.
-