net.minecraft.network

class ConnectionProtocol$PacketSet<T extends PacketListener>

ne$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.ProtocolType$PacketList
net.minecraft.server.v1_16_R2.EnumProtocol$a

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.objects.Object2IntMap<Class<? extends Packet<T>>>
a
classToId
field_20596
f_feuhlzjs
packetIds
field_229715_a_
private final List<Supplier<? extends Packet<T>>>
b
idToConstructor
field_20597
f_opcqlnvz
packetFactories
field_229716_b_

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
public <P extends Packet<T>> ConnectionProtocol$PacketSet<T>
a(Class<P> arg0, Supplier<P> arg1)
addPacket(Class<P> arg0, Supplier<P> arg1)
method_22313(Class<P> arg0, Supplier<P> arg1)
m_kfitcvso(Class<P> arg0, Supplier<P> arg1)
register(Class<P> type, Supplier<P> factory)
func_229721_a_(Class<P> arg0, Supplier<P> arg1)
public Integer
a(Class<?> arg0)
getId(Class<?> arg0)
method_22312(Class<?> arg0)
m_trywfarv(Class<?> arg0)
getId(Class<?> packet)
func_229720_a_(Class<?> arg0)
public Packet<?>
a(int arg0)
createPacket(int arg0)
method_22310(int arg0)
m_rjaodwou(int arg0)
createPacket(int id)
func_229718_a_(int arg0)
public Iterable<Class<? extends Packet<?>>>
a()
getAllPackets()
method_22309()
m_vhjfgjhy()
getPacketTypes()
func_229717_a_()