net.minecraft.network

public enum ConnectionProtocol

sn
net.minecraft.network.ConnectionProtocol
net.minecraft.class_2539
net.minecraft.network.NetworkState
net.minecraft.src.C_4965_
net.minecraft.network.EnumProtocol

Enum constant summary

Enum Constant
a
HANDSHAKING
field_20590
HANDSHAKING
HANDSHAKING
b
PLAY
field_20591
PLAY
PLAY
c
STATUS
field_20592
STATUS
STATUS
d
LOGIN
field_20593
LOGIN
LOGIN
e
CONFIGURATION
field_45671
CONFIGURATION
CONFIGURATION

Field summary

Modifier and TypeField
public static final int
f
NOT_REGISTERED
field_41866
UNKNOWN_PACKET_ID
f_263799_
private final String
g
id
field_20594
stateId
f_129573_
private final Map<PacketFlow, ConnectionProtocol$CodecData<?>>
h
flows
field_20595
packetHandlers
f_129574_

Constructor summary

ModifierConstructor
private (String p_129579_, ConnectionProtocol$ProtocolBuilder p_297624_)

Method summary

Modifier and TypeMethod
private static ConnectionProtocol$ProtocolBuilder
b()
protocol()
method_22308()
createPacketHandlerInitializer()
m_129600_()
public it.unimi.dsi.fastutil.ints.Int2ObjectMap<Class<? extends Packet<?>>>
a(ve arg0)
getPacketsByIds(PacketFlow arg0)
method_39498(class_2598 arg0)
getPacketIdToPacketMap(NetworkSide side)
m_195620_(C_5029_ arg0)
public String
a()
id()
method_10785()
getId()
m_294991_()
public ConnectionProtocol$CodecData<?>
b(ve arg0)
codec(PacketFlow arg0)
method_52921(class_2598 arg0)
getHandler(NetworkSide side)
m_295783_(C_5029_ arg0)