net.minecraft.network

class ConnectionProtocol$PacketSet<T extends PacketListener>

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

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public <P extends Packet<T>> ConnectionProtocol$PacketSet<T>
a(Class<P> arg0, Function<qx, 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 Integer
a(Class<?> arg0)
getId(Class<?> arg0)
method_22312(Class<?> arg0)
m_trywfarv(Class<?> arg0)
getId(Class<?> packet)
getId(Class<?> packet)
m_129614_(Class<?> arg0)
public Packet<?>
a(int arg0, qx 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 Iterable<Class<? extends Packet<?>>>
a()
getAllPackets()
method_22309()
m_vhjfgjhy()
getPacketTypes()
getPacketTypes()
m_129609_()