History - net.minecraft.network.protocol.ProtocolInfoBuilder

1.21.3

Names

zl

aah

Fields

ConnectionProtocol: a, protocol, field_48616, type, f_317112_

ConnectionProtocol: a, protocol, field_48616, type

PacketFlow: b, flow, field_48617, side, f_315448_

PacketFlow: b, flow, field_48617, side

List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>: c, codecs, field_48618, packetTypes, f_314904_

List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>: c, codecs, field_48618, packetTypes

BundlerInfo: d, bundlerInfo, field_48619, bundleHandler, f_315466_

BundlerInfo: d, bundlerInfo, field_48619, bundleHandler

Constructors

Methods

<P extends Packet<? super T>> ProtocolInfoBuilder<T, B> (PacketType<P>, StreamCodec<? super B, P>): a, addPacket, method_56454, add, m_322062_

<P extends Packet<? super T>> ProtocolInfoBuilder<T, B> (PacketType<P>, StreamCodec<? super B, P>): a, addPacket, method_56454, add

<P extends BundlePacket<? super T>, D extends BundleDelimiterPacket<? super T>> ProtocolInfoBuilder<T, B> (PacketType<P>, Function<Iterable<Packet<? super T>>, P>, D): a, withBundlePacket, method_56453, addBundle, m_319612_

<P extends BundlePacket<? super T>, D extends BundleDelimiterPacket<? super T>> ProtocolInfoBuilder<T, B> (PacketType<P>, Function<Iterable<Packet<? super T>>, P>, D): a, withBundlePacket, method_56453, addBundle

StreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> (Function<io.netty.buffer.ByteBuf, B>, List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>): a, buildPacketCodec, method_56450, createCodec, m_320976_

StreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> (Function<io.netty.buffer.ByteBuf, B>, List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>): a, buildPacketCodec, method_56450, createCodec

ProtocolInfo<T> (Function<io.netty.buffer.ByteBuf, B>): a, build, method_56449, build, m_319209_

ProtocolInfo<T> (Function<io.netty.buffer.ByteBuf, B>): a, build, method_56449, build

ProtocolInfo$Unbound<T, B> (): a, buildUnbound, method_56447, buildFactory, m_318838_

ProtocolInfo$Unbound<T, B> (): a, buildUnbound, method_56447, buildFactory

<L extends PacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<L, B> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, B>>): a, protocol, method_56452, build, m_319891_

<L extends PacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<L, B> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, B>>): a, protocol, method_56452, build

<T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): a, serverboundProtocol, method_56451, c2s, m_323394_

<T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): a, serverboundProtocol, method_56451, c2s

<T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): b, clientboundProtocol, method_56455, s2c, m_322020_

<T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): b, clientboundProtocol, method_56455, s2c

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

aab

zl

Fields

Constructors

Methods

<L extends PacketListener> ProtocolInfo<L> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, FriendlyByteBuf>>): a, protocol, method_56452, build, m_321517_

<T extends ServerboundPacketListener> ProtocolInfo<T> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>>): a, serverboundProtocol, method_56451, c2s, m_323394_

<T extends ClientboundPacketListener> ProtocolInfo<T> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>>): b, clientboundProtocol, method_56455, s2c, m_322020_

<L extends PacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<L, B> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, B>>): b, protocolUnbound, method_56456, buildFactory, m_319891_

<L extends PacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<L, B> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, B>>): a, protocol, method_56452, build, m_319891_

<T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): c, serverboundProtocolUnbound, method_56457, c2sFactory, m_321568_

<T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): d, clientboundProtocolUnbound, method_56458, s2cFactory, m_323393_

<T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): a, serverboundProtocol, method_56451, c2s, m_323394_

<T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): b, clientboundProtocol, method_56455, s2c, m_322020_

1.20.6

Names

aab

net.minecraft.network.protocol.ProtocolInfoBuilder

net.minecraft.class_9147

net.minecraft.network.NetworkStateBuilder

net.minecraft.src.C_313614_

net.minecraft.network.protocol.ProtocolInfoBuilder

Fields

ConnectionProtocol: a, protocol, field_48616, type, f_317112_

PacketFlow: b, flow, field_48617, side, f_315448_

List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>: c, codecs, field_48618, packetTypes, f_314904_

BundlerInfo: d, bundlerInfo, field_48619, bundleHandler, f_315466_

Constructors

(ConnectionProtocol, PacketFlow)

Methods

<P extends Packet<? super T>> ProtocolInfoBuilder<T, B> (PacketType<P>, StreamCodec<? super B, P>): a, addPacket, method_56454, add, m_322062_

<P extends BundlePacket<? super T>, D extends BundleDelimiterPacket<? super T>> ProtocolInfoBuilder<T, B> (PacketType<P>, Function<Iterable<Packet<? super T>>, P>, D): a, withBundlePacket, method_56453, addBundle, m_319612_

StreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>> (Function<io.netty.buffer.ByteBuf, B>, List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>): a, buildPacketCodec, method_56450, createCodec, m_320976_

ProtocolInfo<T> (Function<io.netty.buffer.ByteBuf, B>): a, build, method_56449, build, m_319209_

ProtocolInfo$Unbound<T, B> (): a, buildUnbound, method_56447, buildFactory, m_318838_

<L extends PacketListener> ProtocolInfo<L> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, FriendlyByteBuf>>): a, protocol, method_56452, build, m_321517_

<T extends ServerboundPacketListener> ProtocolInfo<T> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>>): a, serverboundProtocol, method_56451, c2s, m_323394_

<T extends ClientboundPacketListener> ProtocolInfo<T> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, FriendlyByteBuf>>): b, clientboundProtocol, method_56455, s2c, m_322020_

<L extends PacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<L, B> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, B>>): b, protocolUnbound, method_56456, buildFactory, m_319891_

<T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): c, serverboundProtocolUnbound, method_56457, c2sFactory, m_321568_

<T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B>>): d, clientboundProtocolUnbound, method_56458, s2cFactory, m_323393_