Package me.mrnavastar.biscuit.mixin
Class ServerLoginNetworkHandlerMixin
java.lang.Object
me.mrnavastar.biscuit.mixin.ServerLoginNetworkHandlerMixin
- All Implemented Interfaces:
CookieJar,InternalStuff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<byte[]> biscuit$getRawCookie(net.minecraft.util.Identifier cookieId) com.mojang.authlib.GameProfilevoidbiscuit$send(net.minecraft.network.packet.Packet<?> packet) booleanChecks if this client was transferred from another server.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.mrnavastar.biscuit.InternalStuff
biscuit$onCookie
-
Constructor Details
-
ServerLoginNetworkHandlerMixin
public ServerLoginNetworkHandlerMixin()
-
-
Method Details
-
biscuit$send
public void biscuit$send(net.minecraft.network.packet.Packet<?> packet) - Specified by:
biscuit$sendin interfaceInternalStuff
-
biscuit$getRawCookie
- Specified by:
biscuit$getRawCookiein interfaceInternalStuff
-
biscuit$getUser
public com.mojang.authlib.GameProfile biscuit$getUser()- Specified by:
biscuit$getUserin interfaceInternalStuff
-
wasTransferred
public boolean wasTransferred()Description copied from interface:CookieJarChecks if this client was transferred from another server. NOTE: The client is able to lie about being transferred, so don't rely on it for mission critical things. Also seeBiscuit.RegisteredCookie.kickIfMissing(boolean)- Specified by:
wasTransferredin interfaceCookieJar- Returns:
- If the client was transferred.
-