net.minecraft.network

class ConnectionProtocol$PacketSet<T extends PacketListener>

sn$b
net.minecraft.network.ConnectionProtocol$PacketSet
net.minecraft.class_2539$class_4532
net.minecraft.network.NetworkState$InternalPacketHandler
net.minecraft.src.C_4965_$C_4967_
net.minecraft.network.EnumProtocol$b

Field summary

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

Constructor summary

ModifierConstructor
()

Method summary

Modifier and TypeMethod
public <P extends Packet<? super T>> ConnectionProtocol$PacketSet<T>
a(Class<P> arg0, Function<so, P> arg1)
addPacket(Class<P> arg0, Function<FriendlyByteBuf, P> arg1)
method_22313(Class<P> arg0, Function<class_2540, P> arg1)
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<vd<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)
registerBundlePacket(Class<P> bundlePacketType, Function<Iterable<Packet<T>>, P> bundleFunction)
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)
getId(Class<?> packet)
m_264516_(Class<?> arg0)
public boolean
b(Class<?> arg0)
isKnownPacket(Class<?> arg0)
method_52929(Class<?> arg0)
canHandle(Class<?> clazz)
m_294921_(Class<?> arg0)
public Packet<?>
a(int arg0, so arg1)
createPacket(int arg0, FriendlyByteBuf arg1)
method_22310(int arg0, class_2540 arg1)
createPacket(int id, PacketByteBuf buf)
m_178327_(int p_178329_, C_4983_ arg1)
public BundlerInfo
a()
bundlerInfo()
method_48313()
getBundler()
m_264507_()