Uses of Enum Class
net.minecraft.network.ConnectionProtocol
Package
Description
-
Uses of ConnectionProtocol in net.minecraft.network
Modifier and TypeFieldDescriptionprivate final ConnectionProtocol
ConnectionProtocol.CodecData.protocol
Modifier and TypeMethodDescriptionprivate static ConnectionProtocol
ConnectionProtocol.configuration()
private static ConnectionProtocol
ConnectionProtocol.play()
ConnectionProtocol.CodecData.protocol()
PacketListener.protocol()
static ConnectionProtocol
Returns the enum constant of this class with the specified name.static ConnectionProtocol[]
ConnectionProtocol.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionConnectionProtocol.ProtocolBuilder.buildCodecs
(ConnectionProtocol p_295242_) ModifierConstructorDescriptionCodecData
(ConnectionProtocol p_294701_, PacketFlow p_296318_, ConnectionProtocol.PacketSet<T> p_295008_) -
Uses of ConnectionProtocol in net.minecraft.network.protocol
-
Uses of ConnectionProtocol in net.minecraft.network.protocol.common
Modifier and TypeMethodDescriptionprivate static CustomPacketPayload
ClientboundCustomPayloadPacket.readPayload
(ResourceLocation p_294367_, FriendlyByteBuf p_294321_, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Reads the payload from the given buffer.private static CustomPacketPayload
ServerboundCustomPayloadPacket.readPayload
(ResourceLocation p_294367_, FriendlyByteBuf p_294321_, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Reads the payload from the given buffer.ModifierConstructorDescriptionClientboundCustomPayloadPacket
(FriendlyByteBuf buffer, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Reads a custom payload packet from the given buffer.ServerboundCustomPayloadPacket
(FriendlyByteBuf p_296108_, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol) Creates a new packet with a custom payload from the network. -
Uses of ConnectionProtocol in net.minecraft.network.protocol.configuration
Modifier and TypeMethodDescriptionClientboundFinishConfigurationPacket.nextProtocol()
ServerboundFinishConfigurationPacket.nextProtocol()
default ConnectionProtocol
ClientConfigurationPacketListener.protocol()
default ConnectionProtocol
ServerConfigurationPacketListener.protocol()
-
Uses of ConnectionProtocol in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionClientboundStartConfigurationPacket.nextProtocol()
ServerboundConfigurationAcknowledgedPacket.nextProtocol()
default ConnectionProtocol
ClientGamePacketListener.protocol()
default ConnectionProtocol
ServerGamePacketListener.protocol()
-
Uses of ConnectionProtocol in net.minecraft.network.protocol.handshake
Modifier and TypeMethodDescriptionClientIntentionPacket.nextProtocol()
ClientIntent.protocol()
default ConnectionProtocol
ServerHandshakePacketListener.protocol()
-
Uses of ConnectionProtocol in net.minecraft.network.protocol.login
Modifier and TypeMethodDescriptionClientboundGameProfilePacket.nextProtocol()
ServerboundLoginAcknowledgedPacket.nextProtocol()
default ConnectionProtocol
ClientLoginPacketListener.protocol()
default ConnectionProtocol
ServerLoginPacketListener.protocol()
-
Uses of ConnectionProtocol in net.minecraft.network.protocol.status
Modifier and TypeMethodDescriptiondefault ConnectionProtocol
ClientStatusPacketListener.protocol()
default ConnectionProtocol
ServerStatusPacketListener.protocol()
-
Uses of ConnectionProtocol in net.minecraft.util.profiling.jfr
Modifier and TypeMethodDescriptionvoid
JfrProfiler.onPacketReceived
(ConnectionProtocol p_294286_, int p_185302_, SocketAddress p_185304_, int p_185303_) void
JvmProfiler.NoOpProfiler.onPacketReceived
(ConnectionProtocol p_296240_, int p_185363_, SocketAddress p_185365_, int p_185364_) void
JvmProfiler.onPacketReceived
(ConnectionProtocol p_294356_, int p_185343_, SocketAddress p_185345_, int p_185344_) void
JfrProfiler.onPacketSent
(ConnectionProtocol p_295940_, int p_185323_, SocketAddress p_185325_, int p_185324_) void
JvmProfiler.NoOpProfiler.onPacketSent
(ConnectionProtocol p_294630_, int p_185375_, SocketAddress p_185377_, int p_185376_) void
JvmProfiler.onPacketSent
(ConnectionProtocol p_295578_, int p_185351_, SocketAddress p_185353_, int p_185352_) -
Uses of ConnectionProtocol in net.neoforged.neoforge.network.filters
Modifier and TypeMethodDescriptionstatic int
GenericPacketSplitter.determineMaxPayloadSize
(ConnectionProtocol protocol, PacketFlow flow) -
Uses of ConnectionProtocol in net.neoforged.neoforge.network.handling
-
Uses of ConnectionProtocol in net.neoforged.neoforge.network.registration
Modifier and TypeMethodDescriptionFriendlyByteBuf.Reader<? extends CustomPacketPayload>
NetworkRegistry.getReader
(ResourceLocation id, io.netty.channel.ChannelHandlerContext context, ConnectionProtocol protocol, Map<ResourceLocation, FriendlyByteBuf.Reader<? extends CustomPacketPayload>> knownTypes) Invoked by the network subsystem to get a reader for a custom packet payload.