net.minecraft.network

public enum ConnectionProtocol

ku
net.minecraft.network.ConnectionProtocol
net.minecraft.class_2539
net.minecraft.network.NetworkState
net.minecraft.network.ProtocolType
net.minecraft.server.v1_15_R1.EnumProtocol

Enum constant summary

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

Field summary

Modifier and TypeField
private static final ConnectionProtocol[]
e
LOOKUP
field_11693
STATES
field_150764_e
private static final Map<Class<? extends Packet<?>>, ConnectionProtocol>
f
PROTOCOL_BY_PACKET
field_11687
HANDLER_STATE_MAP
field_150761_f
private final int
g
id
field_20594
stateId
field_150762_g
private final Map<PacketFlow, ? extends ConnectionProtocol$PacketSet<?>>
h
flows
field_20595
packetHandlers
field_229711_h_

Constructor summary

ModifierConstructor
private (int arg0, ConnectionProtocol$ProtocolBuilder arg1)

Method summary

Modifier and TypeMethod
private static ConnectionProtocol$ProtocolBuilder
b()
protocol()
method_22308()
createPacketHandlerInitializer()
func_229714_b_()
public Integer
a(lu arg0, lt<?> arg1)
getPacketId(PacketFlow arg0, Packet<?> arg1)
method_10781(class_2598 arg0, class_2596<?> arg1)
getPacketId(NetworkSide side, Packet<?> arg1)
func_179246_a(PacketDirection arg0, IPacket<?> arg1)
public Packet<?>
a(lu arg0, int arg1)
createPacket(PacketFlow arg0, int arg1)
method_10783(class_2598 arg0, int arg1)
getPacketHandler(NetworkSide side, int arg1)
func_179244_a(PacketDirection arg0, int arg1)
public int
a()
getId()
method_10785()
getId()
func_150759_c()
public static ConnectionProtocol
a(int arg0)
getById(int arg0)
method_10782(int arg0)
byId(int id)
func_150760_a(int arg0)
public static ConnectionProtocol
a(lt<?> arg0)
getProtocolForPacket(Packet<?> arg0)
method_10786(class_2596<?> arg0)
getPacketHandlerState(Packet<?> handler)
func_150752_a(IPacket<?> arg0)