net.minecraft.network

public enum ConnectionProtocol

qw
net.minecraft.network.ConnectionProtocol
net.minecraft.class_2539
net.minecraft.unmapped.C_kxdobmrm
net.minecraft.network.NetworkState
net.minecraft.network.NetworkState
net.minecraft.src.C_4965_
net.minecraft.network.EnumProtocol

Enum constant summary

Enum Constant
a
HANDSHAKING
field_20590
f_uxmqychg
HANDSHAKING
HANDSHAKING
HANDSHAKING
b
PLAY
field_20591
f_nmosladz
PLAY
PLAY
PLAY
c
STATUS
field_20592
f_vjicvfca
STATUS
STATUS
STATUS
d
LOGIN
field_20593
f_rhgftlat
LOGIN
LOGIN
LOGIN

Field summary

Modifier and TypeField
private static final int
e
MIN_PROTOCOL_ID
field_33281
f_cmujzmzi
NULL_PACKET_ID_OR_MIN_STATE_ID
NULL_PACKET_ID_OR_MIN_STATE_ID
f_178316_
private static final int
f
MAX_PROTOCOL_ID
field_33282
f_hwzercpw
MAX_STATE_ID
MAX_STATE_ID
f_178317_
private static final ConnectionProtocol[]
g
LOOKUP
field_11693
f_bkkbegfm
STATES
STATES
f_129571_
private static final Map<Class<? extends Packet<?>>, ConnectionProtocol>
h
PROTOCOL_BY_PACKET
field_11687
f_jpcxqasc
HANDLER_STATE_MAP
HANDLER_STATE_MAP
f_129572_
private final int
i
id
field_20594
f_vjkseuag
stateId
stateId
f_129573_
private final Map<PacketFlow, ? extends ConnectionProtocol$PacketSet<?>>
j
flows
field_20595
f_stwztcyj
packetHandlers
packetHandlers
f_129574_

Constructor summary

ModifierConstructor
private (int p_129579_, ConnectionProtocol$ProtocolBuilder p_129580_)

Method summary

Modifier and TypeMethod
private static ConnectionProtocol$ProtocolBuilder
b()
protocol()
method_22308()
m_mjjmcqbn()
createPacketHandlerInitializer()
createPacketHandlerInitializer()
m_129600_()
public Integer
a(td arg0, tc<?> arg1)
getPacketId(PacketFlow arg0, Packet<?> arg1)
method_10781(class_2598 arg0, class_2596<?> arg1)
m_kxtwuehg(C_exeqxqdd arg0, C_zyjtrjrl<?> arg1)
getPacketId(NetworkSide side, Packet<?> packet)
getPacketId(NetworkSide side, Packet<?> packet)
m_129597_(C_5029_ p_129599_, C_5028_<?> arg1)
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<Class<? extends Packet<?>>>
a(td arg0)
getPacketsByIds(PacketFlow arg0)
method_39498(class_2598 arg0)
m_ophzsavx(C_exeqxqdd arg0)
getPacketIdToPacketMap(NetworkSide side)
getPacketsByIds(NetworkSide networkSide)
m_195620_(C_5029_ arg0)
public Packet<?>
a(td arg0, int arg1, qx arg2)
createPacket(PacketFlow arg0, int arg1, FriendlyByteBuf arg2)
method_10783(class_2598 arg0, int arg1, class_2540 arg2)
m_yxddrfeo(C_exeqxqdd arg0, int arg1, C_idfydwco arg2)
getPacketHandler(NetworkSide side, int packetId, PacketByteBuf buf)
getPacketHandler(NetworkSide side, int packetId, PacketByteBuf buf)
m_178321_(C_5029_ p_178323_, int p_178324_, C_4983_ arg2)
public int
a()
getId()
method_10785()
m_gepqzzad()
getId()
getId()
m_129582_()
public static ConnectionProtocol
a(int arg0)
getById(int arg0)
method_10782(int arg0)
m_voxurenl(int arg0)
byId(int id)
byId(int id)
m_129583_(int p_129584_)
public static ConnectionProtocol
a(tc<?> arg0)
getProtocolForPacket(Packet<?> arg0)
method_10786(class_2596<?> arg0)
m_gxjpnmab(C_zyjtrjrl<?> arg0)
getPacketHandlerState(Packet<?> handler)
getPacketHandlerState(Packet<?> handler)
m_129592_(C_5028_<?> p_129593_)