历史 - net.minecraft.network.protocol.ProtocolInfoBuilder

1.21.11

名称

aat

abd

字段

构造函数

方法

1.21.10

名称

字段

构造函数

方法

1.21.9

名称

aab

aat

字段

构造函数

方法

1.21.8

名称

字段

构造函数

方法

1.21.7

名称

字段

构造函数

方法

1.21.6

名称

zt

aab

字段

构造函数

方法

1.21.5

名称

zb

zt

net.minecraft.network.NetworkStateBuilder

net.minecraft.network.state.NetworkStateBuilder

字段

ConnectionProtocol: a, protocol, field_48616, type, f_317112_

ConnectionProtocol: a, protocol, field_48616, phase, f_317112_

构造函数

方法

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, 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>>): 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_

<P extends Packet<? super T>> ProtocolInfoBuilder<T, B, C> (PacketType<P>, StreamCodec<? super B, P>, CodecModifier<B, P, C>): a, addPacket, method_68870, add, m_388585_

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

ProtocolInfo$Details (ConnectionProtocol, PacketFlow, List<? extends ProtocolInfoBuilder$CodecEntry<?, ?, ?, ?>>): a, buildDetails, method_68869, createState, m_387351_

SimpleUnboundProtocol<T, B> (C): a, buildUnbound, method_68868, buildFactory, m_387327_

UnboundProtocol<T, B, C> (): a, buildUnbound, method_56447, buildContextAwareFactory, m_318838_

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

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

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

<L extends PacketListener, B extends io.netty.buffer.ByteBuf, C> UnboundProtocol<L, B, C> (ConnectionProtocol, PacketFlow, Consumer<ProtocolInfoBuilder<L, B, C>>): b, contextProtocol, method_68871, buildContextAware, m_387725_

<T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf, C> UnboundProtocol<T, B, C> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B, C>>): c, contextServerboundProtocol, method_68872, contextAwareC2S, m_388848_

<T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf, C> UnboundProtocol<T, B, C> (ConnectionProtocol, Consumer<ProtocolInfoBuilder<T, B, C>>): d, contextClientboundProtocol, method_68873, contextAwareS2C, m_387157_

1.21.4

名称

aah

zb

字段

构造函数

方法

1.21.3

名称

zl

aah

字段

构造函数

方法

1.21.1

名称

字段

构造函数

方法

1.21

名称

aab

zl

字段

构造函数

方法

<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

名称

aab

net.minecraft.network.protocol.ProtocolInfoBuilder

net.minecraft.class_9147

net.minecraft.network.NetworkStateBuilder

net.minecraft.src.C_313614_

net.minecraft.network.protocol.ProtocolInfoBuilder

字段

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_

构造函数

(ConnectionProtocol, PacketFlow)

方法

<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_