net.minecraft.network.protocol

public class ProtocolInfoBuilder<T extends PacketListener, B extends io.netty.buffer.ByteBuf>

aah
net.minecraft.network.protocol.ProtocolInfoBuilder
net.minecraft.class_9147
net.minecraft.unmapped.C_xadnelzj
net.minecraft.network.NetworkStateBuilder
net.minecraft.network.NetworkPhaseProtocolBuilder
net.minecraft.src.C_313614_
net.minecraft.network.protocol.ProtocolInfoBuilder

Field summary

Modifier and TypeField
final ConnectionProtocol
a
protocol
field_48616
f_lnnesytj
type
phase
f_317112_
final PacketFlow
b
flow
field_48617
f_ymmjxtxh
side
side
f_315448_
private final List<ProtocolInfoBuilder$CodecEntry<T, ?, B>>
c
codecs
field_48618
f_rqqleebu
packetTypes
entries
f_314904_
private BundlerInfo
d
bundlerInfo
field_48619
f_rhurybko
bundleHandler
bundleHandler
f_315466_

Constructor summary

ModifierConstructor
public (ConnectionProtocol type, PacketFlow side)

Method summary

Modifier and TypeMethod
public <P extends Packet<? super T>> ProtocolInfoBuilder<T, B>
a(aae<P> arg0, zt<? super B, P> arg1)
addPacket(PacketType<P> arg0, StreamCodec<? super B, P> arg1)
method_56454(class_9145<P> arg0, class_9139<? super B, P> arg1)
m_jwscilku(C_usugyqlb<P> arg0, C_qsrmwluu<? super B, P> arg1)
add(PacketType<P> id, PacketCodec<? super B, P> codec)
addPacket(PacketType<P> type, PacketCodec<? super B, P> codec)
m_322062_(C_313403_<P> p_333531_, C_313866_<? super B, P> arg1)
public <P extends BundlePacket<? super T>, D extends BundleDelimiterPacket<? super T>> ProtocolInfoBuilder<T, B>
a(aae<P> arg0, Function<Iterable<aac<? super T>>, P> arg1, D arg2)
withBundlePacket(PacketType<P> arg0, Function<Iterable<Packet<? super T>>, P> arg1, D arg2)
method_56453(class_9145<P> arg0, Function<Iterable<class_2596<? super T>>, P> arg1, D arg2)
m_rsssfptu(C_usugyqlb<P> arg0, Function<Iterable<C_zyjtrjrl<? super T>>, P> arg1, D arg2)
addBundle(PacketType<P> id, Function<Iterable<Packet<? super T>>, P> bundler, D splitter)
withBundlePacket(PacketType<P> type, Function<Iterable<Packet<? super T>>, P> function, D splitterPacket)
m_319612_(C_313403_<P> p_331716_, Function<Iterable<C_5028_<? super T>>, P> p_328432_, D arg2)
StreamCodec<io.netty.buffer.ByteBuf, Packet<? super T>>
a(Function<io.netty.buffer.ByteBuf, B> arg0, List<aah$a<T, ?, B>> arg1)
buildPacketCodec(Function<io.netty.buffer.ByteBuf, B> arg0, List<ProtocolInfoBuilder$CodecEntry<T, ?, B>> arg1)
method_56450(Function<io.netty.buffer.ByteBuf, B> arg0, List<class_9147$class_9148<T, ?, B>> arg1)
m_buknizwk(Function<io.netty.buffer.ByteBuf, B> arg0, List<C_xadnelzj$C_vmidayvn<T, ?, B>> arg1)
createCodec(Function<io.netty.buffer.ByteBuf, B> bufUpgrader, List<NetworkStateBuilder$PacketType<T, ?, B>> packetTypes)
buildPacketCodec(Function<io.netty.buffer.ByteBuf, B> bufFactory, List<NetworkPhaseProtocolBuilder$CodecEntry<T, ?, B>> codecs)
m_320976_(Function<io.netty.buffer.ByteBuf, B> p_329135_, List<C_313614_$C_313283_<T, ?, B>> arg1)
public ProtocolInfo<T>
a(Function<io.netty.buffer.ByteBuf, B> arg0)
build(Function<io.netty.buffer.ByteBuf, B> arg0)
method_56449(Function<io.netty.buffer.ByteBuf, B> arg0)
m_jzxwafbg(Function<io.netty.buffer.ByteBuf, B> arg0)
build(Function<io.netty.buffer.ByteBuf, B> bufUpgrader)
buildAndBind(Function<io.netty.buffer.ByteBuf, B> bufferFactory)
m_319209_(Function<io.netty.buffer.ByteBuf, B> arg0)
public ProtocolInfo$Unbound<T, B>
a()
buildUnbound()
method_56447()
m_vfbxcaap()
buildFactory()
build()
m_318838_()
private static <L extends PacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<L, B>
a(wq arg0, aad arg1, Consumer<aah<L, B>> arg2)
protocol(ConnectionProtocol arg0, PacketFlow arg1, Consumer<ProtocolInfoBuilder<L, B>> arg2)
method_56452(class_2539 arg0, class_2598 arg1, Consumer<class_9147<L, B>> arg2)
m_yrxfjash(C_kxdobmrm arg0, C_exeqxqdd arg1, Consumer<C_xadnelzj<L, B>> arg2)
build(NetworkPhase type, NetworkSide side, Consumer<NetworkStateBuilder<L, B>> registrar)
create(NetworkPhase phase, NetworkSide side, Consumer<NetworkPhaseProtocolBuilder<L, B>> consumer)
m_319891_(C_4965_ p_330235_, C_5029_ p_335045_, Consumer<C_313614_<L, B>> p_329753_)
public static <T extends ServerboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B>
a(wq arg0, Consumer<aah<T, B>> arg1)
serverboundProtocol(ConnectionProtocol arg0, Consumer<ProtocolInfoBuilder<T, B>> arg1)
method_56451(class_2539 arg0, Consumer<class_9147<T, B>> arg1)
m_hriadiud(C_kxdobmrm arg0, Consumer<C_xadnelzj<T, B>> arg1)
c2s(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar)
createC2S(NetworkPhase phase, Consumer<NetworkPhaseProtocolBuilder<T, B>> consumer)
m_323394_(C_4965_ p_331618_, Consumer<C_313614_<T, B>> p_330318_)
public static <T extends ClientboundPacketListener, B extends io.netty.buffer.ByteBuf> ProtocolInfo$Unbound<T, B>
b(wq arg0, Consumer<aah<T, B>> arg1)
clientboundProtocol(ConnectionProtocol arg0, Consumer<ProtocolInfoBuilder<T, B>> arg1)
method_56455(class_2539 arg0, Consumer<class_9147<T, B>> arg1)
m_ljxmvorc(C_kxdobmrm arg0, Consumer<C_xadnelzj<T, B>> arg1)
s2c(NetworkPhase type, Consumer<NetworkStateBuilder<T, B>> registrar)
createS2C(NetworkPhase phase, Consumer<NetworkPhaseProtocolBuilder<T, B>> consumer)
m_322020_(C_4965_ p_329688_, Consumer<C_313614_<T, B>> p_332900_)