Class LoginHelloS2CPacket
java.lang.Object
net.minecraft.network.packet.s2c.login.LoginHelloS2CPacket
- All Implemented Interfaces:
- Packet<ClientLoginPacketListener>
- Mappings:
- Namespace - Name - named - net/minecraft/network/packet/s2c/login/LoginHelloS2CPacket- intermediary - net/minecraft/class_2905- official - ais
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, LoginHelloS2CPacket> private final booleanprivate final byte[]private final byte[]private final String
- 
Constructor SummaryConstructorsModifierConstructorDescriptionLoginHelloS2CPacket(String serverId, byte[] publicKey, byte[] nonce, boolean needsAuthentication) private
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(ClientLoginPacketListener clientLoginPacketListener) byte[]getNonce()booleanprivate voidwrite(PacketByteBuf buf) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.packet.PacketisWritingErrorSkippable, transitionsNetworkState
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;- intermediary - field_48234- Lnet/minecraft/class_2905;field_48234:Lnet/minecraft/class_9139;- official - a- Lais;a:Lyn;
 
- 
serverId- Mappings:
- Namespace - Name - Mixin selector - named - serverId- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;serverId:Ljava/lang/String;- intermediary - field_13209- Lnet/minecraft/class_2905;field_13209:Ljava/lang/String;- official - b- Lais;b:Ljava/lang/String;
 
- 
publicKeyprivate final byte[] publicKey- Mappings:
- Namespace - Name - Mixin selector - named - publicKey- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;publicKey:[B- intermediary - field_13211- Lnet/minecraft/class_2905;field_13211:[B- official - c- Lais;c:[B
 
- 
nonceprivate final byte[] nonce- Mappings:
- Namespace - Name - Mixin selector - named - nonce- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;nonce:[B- intermediary - field_13210- Lnet/minecraft/class_2905;field_13210:[B- official - d- Lais;d:[B
 
- 
needsAuthenticationprivate final boolean needsAuthentication- Mappings:
- Namespace - Name - Mixin selector - named - needsAuthentication- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;needsAuthentication:Z- intermediary - field_48235- Lnet/minecraft/class_2905;field_48235:Z- official - e- Lais;e:Z
 
 
- 
- 
Constructor Details- 
LoginHelloS2CPacketpublic LoginHelloS2CPacket(String serverId, byte[] publicKey, byte[] nonce, boolean needsAuthentication) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;<init>(Ljava/lang/String;[B[BZ)V- intermediary - <init>- Lnet/minecraft/class_2905;<init>(Ljava/lang/String;[B[BZ)V- official - <init>- Lais;<init>(Ljava/lang/String;[B[BZ)V
 
- 
LoginHelloS2CPacket- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V- intermediary - <init>- Lnet/minecraft/class_2905;<init>(Lnet/minecraft/class_2540;)V- official - <init>- Lais;<init>(Lvl;)V
 
 
- 
- 
Method Details- 
write- Mappings:
- Namespace - Name - Mixin selector - named - write- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;write(Lnet/minecraft/network/PacketByteBuf;)V- intermediary - method_56012- Lnet/minecraft/class_2905;method_56012(Lnet/minecraft/class_2540;)V- official - a- Lais;a(Lvl;)V
 
- 
getPacketType- Specified by:
- getPacketTypein interface- Packet<ClientLoginPacketListener>
- Mappings:
- Namespace - Name - Mixin selector - named - getPacketType- Lnet/minecraft/network/packet/Packet;getPacketType()Lnet/minecraft/network/packet/PacketType;- intermediary - method_65080- Lnet/minecraft/class_2596;method_65080()Lnet/minecraft/class_9145;- official - a- Lyw;a()Lyy;
 
- 
apply- Specified by:
- applyin interface- Packet<ClientLoginPacketListener>
- Mappings:
- Namespace - Name - Mixin selector - named - apply- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;apply(Lnet/minecraft/network/listener/ClientLoginPacketListener;)V- intermediary - method_12612- Lnet/minecraft/class_2905;method_12612(Lnet/minecraft/class_2896;)V- official - a- Lais;a(Laiq;)V
 
- 
getServerId- Mappings:
- Namespace - Name - Mixin selector - named - getServerId- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getServerId()Ljava/lang/String;- intermediary - method_12610- Lnet/minecraft/class_2905;method_12610()Ljava/lang/String;- official - b- Lais;b()Ljava/lang/String;
 
- 
getPublicKey- Throws:
- NetworkEncryptionException
- Mappings:
- Namespace - Name - Mixin selector - named - getPublicKey- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getPublicKey()Ljava/security/PublicKey;- intermediary - method_12611- Lnet/minecraft/class_2905;method_12611()Ljava/security/PublicKey;- official - e- Lais;e()Ljava/security/PublicKey;
 
- 
getNoncepublic byte[] getNonce()- Mappings:
- Namespace - Name - Mixin selector - named - getNonce- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;getNonce()[B- intermediary - method_12613- Lnet/minecraft/class_2905;method_12613()[B- official - f- Lais;f()[B
 
- 
needsAuthenticationpublic boolean needsAuthentication()- Mappings:
- Namespace - Name - Mixin selector - named - needsAuthentication- Lnet/minecraft/network/packet/s2c/login/LoginHelloS2CPacket;needsAuthentication()Z- intermediary - method_56013- Lnet/minecraft/class_2905;method_56013()Z- official - g- Lais;g()Z
 
 
-