Class LoginHelloS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.login.LoginHelloS2CPacket
- All Implemented Interfaces:
Packet<ClientLoginPacketListener>
- Mappings:
Namespace Name official adh
intermediary net/minecraft/class_2905
named net/minecraft/network/packet/s2c/login/LoginHelloS2CPacket
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ClientLoginPacketListener clientLoginPacketListener) byte[]
getNonce()
void
write
(PacketByteBuf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.packet.Packet
getNewNetworkState, isWritingErrorSkippable
-
Field Details
-
serverId
- Mappings:
Namespace Name Mixin selector official a
Ladh;a:Ljava/lang/String;
intermediary field_13209
Lnet/minecraft/class_2905;field_13209:Ljava/lang/String;
named serverId
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;serverId:Ljava/lang/String;
-
publicKey
private final byte[] publicKey- Mappings:
Namespace Name Mixin selector official b
Ladh;b:[B
intermediary field_13211
Lnet/minecraft/class_2905;field_13211:[B
named publicKey
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;publicKey:[B
-
nonce
private final byte[] nonce- Mappings:
Namespace Name Mixin selector official c
Ladh;c:[B
intermediary field_13210
Lnet/minecraft/class_2905;field_13210:[B
named nonce
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;nonce:[B
-
-
Constructor Details
-
LoginHelloS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Ladh;<init>(Ljava/lang/String;[B[B)V
intermediary <init>
Lnet/minecraft/class_2905;<init>(Ljava/lang/String;[B[B)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;<init>(Ljava/lang/String;[B[B)V
-
LoginHelloS2CPacket
- Mappings:
Namespace Name Mixin selector official <init>
Ladh;<init>(Lso;)V
intermediary <init>
Lnet/minecraft/class_2905;<init>(Lnet/minecraft/class_2540;)V
named <init>
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Lvd;a(Lso;)V
intermediary method_11052
Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
named write
Lnet/minecraft/network/packet/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
apply
in interfacePacket<ClientLoginPacketListener>
- Mappings:
Namespace Name Mixin selector official a
Ladh;a(Lade;)V
intermediary method_12612
Lnet/minecraft/class_2905;method_12612(Lnet/minecraft/class_2896;)V
named apply
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V
-
getServerId
- Mappings:
Namespace Name Mixin selector official a
Ladh;a()Ljava/lang/String;
intermediary method_12610
Lnet/minecraft/class_2905;method_12610()Ljava/lang/String;
named getServerId
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getServerId()Ljava/lang/String;
-
getPublicKey
- Throws:
NetworkEncryptionException
- Mappings:
Namespace Name Mixin selector official d
Ladh;d()Ljava/security/PublicKey;
intermediary method_12611
Lnet/minecraft/class_2905;method_12611()Ljava/security/PublicKey;
named getPublicKey
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getPublicKey()Ljava/security/PublicKey;
-
getNonce
public byte[] getNonce()- Mappings:
Namespace Name Mixin selector official e
Ladh;e()[B
intermediary method_12613
Lnet/minecraft/class_2905;method_12613()[B
named getNonce
Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getNonce()[B
-