Class ClientboundDisconnectPacket
java.lang.Object
net.minecraft.network.protocol.common.ClientboundDisconnectPacket
- All Implemented Interfaces:
Packet<ClientCommonPacketListener>
public class ClientboundDisconnectPacket
extends Object
implements Packet<ClientCommonPacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundDisconnectPacket
(Component p_295102_) ClientboundDisconnectPacket
(FriendlyByteBuf p_295309_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(ClientCommonPacketListener p_295529_) void
write
(FriendlyByteBuf p_295069_) 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.protocol.Packet
isSkippable, nextProtocol
-
Field Details
-
reason
-
-
Constructor Details
-
ClientboundDisconnectPacket
-
ClientboundDisconnectPacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientCommonPacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientCommonPacketListener>
-
getReason
-