Class PingPacketTypes
java.lang.Object
net.minecraft.network.protocol.ping.PingPacketTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PacketType<ClientboundPongResponsePacket> static final PacketType<ServerboundPingRequestPacket> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T extends Packet<ClientPongPacketListener>>
PacketType<T> createClientbound(String name) private static <T extends Packet<ServerPingPacketListener>>
PacketType<T> createServerbound(String name)
-
Field Details
-
CLIENTBOUND_PONG_RESPONSE
-
SERVERBOUND_PING_REQUEST
-
-
Constructor Details
-
PingPacketTypes
public PingPacketTypes()
-
-
Method Details
-
createClientbound
private static <T extends Packet<ClientPongPacketListener>> PacketType<T> createClientbound(String name) -
createServerbound
private static <T extends Packet<ServerPingPacketListener>> PacketType<T> createServerbound(String name)
-