Uses of Interface
net.minecraft.network.ProtocolInfo
Package
Description
-
Uses of ProtocolInfo in net.minecraft.network
Modifier and TypeFieldDescriptionprivate ProtocolInfo
<?> Connection.inboundProtocol
private static final ProtocolInfo
<ServerHandshakePacketListener> Connection.INITIAL_PROTOCOL
private final ProtocolInfo
<T> PacketDecoder.protocolInfo
private final ProtocolInfo
<T> PacketEncoder.protocolInfo
Modifier and TypeMethodDescriptionProtocolInfo
<?> Connection.getInboundProtocol()
PacketEncoder.getProtocolInfo()
Modifier and TypeMethodDescriptionprivate <S extends ServerboundPacketListener,
C extends ClientboundPacketListener>
voidConnection.initiateServerboundConnection
(String p_294633_, int p_295471_, ProtocolInfo<S> p_320358_, ProtocolInfo<C> p_320237_, C p_320783_, ClientIntent p_294281_) <S extends ServerboundPacketListener,
C extends ClientboundPacketListener>
voidConnection.initiateServerboundPlayConnection
(String p_320416_, int p_320043_, ProtocolInfo<S> p_320648_, ProtocolInfo<C> p_320919_, C p_319801_, boolean p_319971_) <T extends PacketListener>
voidConnection.setupInboundProtocol
(ProtocolInfo<T> p_320903_, T p_320940_) static <T extends PacketListener>
UnconfiguredPipelineHandler.InboundConfigurationTaskUnconfiguredPipelineHandler.setupInboundProtocol
(ProtocolInfo<T> p_320435_) void
Connection.setupOutboundProtocol
(ProtocolInfo<?> p_319974_) static <T extends PacketListener>
UnconfiguredPipelineHandler.OutboundConfigurationTaskUnconfiguredPipelineHandler.setupOutboundProtocol
(ProtocolInfo<T> p_320204_) private void
Connection.validateListener
(ProtocolInfo<?> p_320630_, PacketListener p_320459_) ModifierConstructorDescriptionPacketDecoder
(ProtocolInfo<T> p_320637_) PacketEncoder
(ProtocolInfo<T> p_320006_) -
Uses of ProtocolInfo in net.minecraft.network.protocol
Modifier and TypeClassDescription(package private) static final record
ProtocolInfoBuilder.Implementation<L extends PacketListener>
Modifier and TypeMethodDescriptionstatic <T extends ClientboundPacketListener>
ProtocolInfo<T> ProtocolInfoBuilder.clientboundProtocol
(ConnectionProtocol p_320428_, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>> p_320292_) private static <L extends PacketListener>
ProtocolInfo<L> ProtocolInfoBuilder.protocol
(ConnectionProtocol p_319927_, PacketFlow p_320658_, Consumer<ProtocolInfoBuilder<L, FriendlyByteBuf>> p_320484_) static <T extends ServerboundPacketListener>
ProtocolInfo<T> ProtocolInfoBuilder.serverboundProtocol
(ConnectionProtocol p_319767_, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>> p_320799_) -
Uses of ProtocolInfo in net.minecraft.network.protocol.configuration
Modifier and TypeFieldDescriptionstatic final ProtocolInfo
<ClientConfigurationPacketListener> ConfigurationProtocols.CLIENTBOUND
static final ProtocolInfo
<ServerConfigurationPacketListener> ConfigurationProtocols.SERVERBOUND
-
Uses of ProtocolInfo in net.minecraft.network.protocol.handshake
Modifier and TypeFieldDescriptionstatic final ProtocolInfo
<ServerHandshakePacketListener> HandshakeProtocols.SERVERBOUND
-
Uses of ProtocolInfo in net.minecraft.network.protocol.login
Modifier and TypeFieldDescriptionstatic final ProtocolInfo
<ClientLoginPacketListener> LoginProtocols.CLIENTBOUND
static final ProtocolInfo
<ServerLoginPacketListener> LoginProtocols.SERVERBOUND
-
Uses of ProtocolInfo in net.minecraft.network.protocol.status
Modifier and TypeFieldDescriptionstatic final ProtocolInfo
<ClientStatusPacketListener> StatusProtocols.CLIENTBOUND
static final ProtocolInfo
<ServerStatusPacketListener> StatusProtocols.SERVERBOUND