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