net.minecraft.network

public enum ConnectionProtocol

jd
net.minecraft.network.ConnectionProtocol
net.minecraft.class_2539
net.minecraft.unmapped.C_kxdobmrm
net.minecraft.network.NetworkState
net.minecraft.network.ProtocolType
net.minecraft.server.v1_14_R1.EnumProtocol

Enum constant summary

Enum Constant
a
HANDSHAKING
field_11689
f_uxmqychg
HANDSHAKING
HANDSHAKING
HANDSHAKING
b
PLAY
field_11690
f_nmosladz
PLAY
PLAY
PLAY
c
STATUS
field_11691
f_vjicvfca
STATUS
STATUS
STATUS
d
LOGIN
field_11688
f_rhgftlat
LOGIN
LOGIN
LOGIN

Field summary

Modifier and TypeField
private static final ConnectionProtocol[]
e
LOOKUP
field_11693
f_bkkbegfm
STATES
field_150764_e
private static final Map<Class<? extends Packet<?>>, ConnectionProtocol>
f
PROTOCOL_BY_PACKET
field_11687
f_jpcxqasc
HANDLER_STATE_MAP
field_150761_f
private final int
g
id
field_11686
f_vjkseuag
id
field_150762_g
private final Map<PacketFlow, com.google.common.collect.BiMap<Integer, Class<? extends Packet<?>>>>
h
packets
field_11692
f_yqiicizy
packetHandlerMap
field_179247_h

Constructor summary

ModifierConstructor
private (int arg0)

Method summary

Modifier and TypeMethod
protected ConnectionProtocol
a(kd arg0, Class<? extends kc<?>> arg1)
addPacket(PacketFlow arg0, Class<? extends Packet<?>> arg1)
method_10784(class_2598 arg0, Class<? extends class_2596<?>> arg1)
m_ffhyfchk(C_exeqxqdd arg0, Class<? extends C_zyjtrjrl<?>> arg1)
addPacket(NetworkSide receivingSide, Class<? extends Packet<?>> packetClass)
func_179245_a(PacketDirection arg0, Class<? extends IPacket<?>> arg1)
public Integer
a(kd arg0, kc<?> 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)
func_179246_a(PacketDirection arg0, IPacket<?> arg1)
public Packet<?>
a(kd arg0, int arg1)
createPacket(PacketFlow arg0, int arg1)
method_10783(class_2598 arg0, int arg1)
m_yxddrfeo(C_exeqxqdd arg0, int arg1)
getPacketHandler(NetworkSide side, int packetId)
func_179244_a(PacketDirection arg0, int arg1)
public int
a()
getId()
method_10785()
m_gepqzzad()
getId()
func_150759_c()
public static ConnectionProtocol
a(int arg0)
getById(int arg0)
method_10782(int arg0)
m_voxurenl(int arg0)
byId(int id)
func_150760_a(int arg0)
public static ConnectionProtocol
a(kc<?> arg0)
getProtocolForPacket(Packet<?> arg0)
method_10786(class_2596<?> arg0)
m_gxjpnmab(C_zyjtrjrl<?> arg0)
getPacketHandlerState(Packet<?> handler)
func_150752_a(IPacket<?> arg0)