Class ClientboundHelloPacket
java.lang.Object
net.minecraft.network.protocol.login.ClientboundHelloPacket
- All Implemented Interfaces:
 Packet<ClientLoginPacketListener>
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundHelloPacket(String p_134782_, byte[] p_134783_, byte[] p_134784_) ClientboundHelloPacket(FriendlyByteBuf p_179816_)  - 
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidhandle(ClientLoginPacketListener p_134790_) voidwrite(FriendlyByteBuf p_134793_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, nextProtocol 
- 
Field Details
- 
serverId
 - 
publicKey
private final byte[] publicKey - 
challenge
private final byte[] challenge 
 - 
 - 
Constructor Details
- 
ClientboundHelloPacket
 - 
ClientboundHelloPacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientLoginPacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientLoginPacketListener>
 - 
getServerId
 - 
getPublicKey
- Throws:
 CryptException
 - 
getChallenge
public byte[] getChallenge() 
 -