net.minecraft.network

public class ConnectionProtocol$CodecData<T extends PacketListener>

implements BundlerInfo$Provider

sn$a
net.minecraft.network.ConnectionProtocol$CodecData
net.minecraft.class_2539$class_8698
net.minecraft.network.NetworkState$PacketHandler
net.minecraft.src.C_4965_$C_290042_
net.minecraft.network.EnumProtocol$a

Field summary

Modifier and TypeField
private final ConnectionProtocol
a
protocol
field_45672
state
f_291281_
private final PacketFlow
b
flow
field_45673
side
f_291354_
private final ConnectionProtocol$PacketSet<T>
c
packetSet
field_45674
backingHandler
f_290324_

Constructor summary

ModifierConstructor
public (ConnectionProtocol state, PacketFlow side, ConnectionProtocol$PacketSet<T> backingHandler)

Method summary

Modifier and TypeMethod
public ConnectionProtocol
a()
protocol()
method_52922()
getState()
m_295191_()
public PacketFlow
b()
flow()
method_52926()
getSide()
m_295987_()
public int
a(vd<?> arg0)
packetId(Packet<?> arg0)
method_52925(class_2596<?> arg0)
getId(Packet<?> packet)
m_294631_(C_5028_<?> arg0)
public BundlerInfo
c()
bundlerInfo()
method_48312()
getBundler()
m_264613_()
it.unimi.dsi.fastutil.ints.Int2ObjectMap<Class<? extends Packet<?>>>
d()
packetsByIds()
method_52928()
getPacketIdToPacketMap()
m_295695_()
public Packet<?>
a(int arg0, so arg1)
createPacket(int arg0, FriendlyByteBuf arg1)
method_52923(int arg0, class_2540 arg1)
createPacket(int id, PacketByteBuf buf)
m_292779_(int p_299179_, C_4983_ arg1)
public boolean
b(vd<?> arg0)
isValidPacketType(Packet<?> arg0)
method_52927(class_2596<?> arg0)
canHandle(Packet<?> packet)
m_295838_(C_5028_<?> arg0)