net.minecraft.network

class ConnectionProtocol$PacketSet<T extends PacketListener>

se$a
net.minecraft.network.ConnectionProtocol$PacketSet
net.minecraft.class_2539$class_4532
net.minecraft.unmapped.C_kxdobmrm$C_lmmjpqqz
net.minecraft.network.NetworkState$PacketHandler
net.minecraft.network.NetworkState$PacketHandler
net.minecraft.src.C_4965_$C_4967_
net.minecraft.network.EnumProtocol$a

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36381
f_mseaveor
LOGGER
LOGGER
f_202573_
final it.unimi.dsi.fastutil.objects.Object2IntMap<Class<? extends Packet<T>>>
b
classToId
field_20596
f_feuhlzjs
packetIds
packetIds
f_129604_
private final List<Function<FriendlyByteBuf, ? extends Packet<T>>>
c
idToDeserializer
field_20597
f_bzupszpd
packetFactories
packetFactories
f_178326_
private BundlerInfo
d
bundlerInfo
field_41867
f_kwrnroeo
bundler
bundlerInfo
f_263664_
private final Set<Class<? extends Packet<T>>>
e
extraClasses
field_41868
f_obnctdix
bundlePacketTypes
packetTypes
f_263747_

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public <P extends Packet<T>> ConnectionProtocol$PacketSet<T>
a(Class<P> arg0, Function<sf, P> arg1)
addPacket(Class<P> arg0, Function<FriendlyByteBuf, P> arg1)
method_22313(Class<P> arg0, Function<class_2540, P> arg1)
m_kfitcvso(Class<P> arg0, Function<C_idfydwco, P> arg1)
register(Class<P> type, Function<PacketByteBuf, P> packetFactory)
register(Class<P> type, Function<PacketByteBuf, P> packetFactory)
m_178330_(Class<P> p_178332_, Function<C_4983_, P> arg1)
public <P extends BundlePacket<T>> ConnectionProtocol$PacketSet<T>
b(Class<P> arg0, Function<Iterable<uo<T>>, P> arg1)
withBundlePacket(Class<P> arg0, Function<Iterable<Packet<T>>, P> arg1)
method_48317(Class<P> arg0, Function<Iterable<class_2596<T>>, P> arg1)
m_kdjwucoq(Class<P> arg0, Function<Iterable<C_zyjtrjrl<T>>, P> arg1)
registerBundlePacket(Class<P> bundlePacketType, Function<Iterable<Packet<T>>, P> bundleFunction)
withBundlePacket(Class<P> packetType, Function<Iterable<Packet<T>>, P> function)
m_264543_(Class<P> p_265591_, Function<Iterable<C_5028_<T>>, P> arg1)
public int
a(Class<?> arg0)
getId(Class<?> arg0)
method_22312(Class<?> arg0)
m_trywfarv(Class<?> arg0)
getId(Class<?> packet)
getId(Class<?> packet)
m_264516_(Class<?> arg0)
public Packet<?>
a(int arg0, sf arg1)
createPacket(int arg0, FriendlyByteBuf arg1)
method_22310(int arg0, class_2540 arg1)
m_rjaodwou(int arg0, C_idfydwco arg1)
createPacket(int id, PacketByteBuf buf)
createPacket(int id, PacketByteBuf buf)
m_178327_(int p_178329_, C_4983_ arg1)
public void
a(Consumer<Class<? extends uo<?>>> arg0)
listAllPackets(Consumer<Class<? extends Packet<?>>> arg0)
method_48314(Consumer<Class<? extends class_2596<?>>> arg0)
m_cpfcrscm(Consumer<Class<? extends C_zyjtrjrl<?>>> arg0)
forEachPacketType(Consumer<Class<? extends Packet<?>>> consumer)
forEachPacketType(Consumer<Class<? extends Packet<?>>> consumer)
m_264538_(Consumer<Class<? extends C_5028_<?>>> arg0)
public BundlerInfo
a()
bundlerInfo()
method_48313()
m_xcmncpjp()
getBundler()
getBundlerInfo()
m_264507_()