net.minecraft.network

public enum NetworkProtocol

el
net.minecraft.unmapped.C_98834311
net.minecraft.network.NetworkProtocol

Enum constant summary

Enum Constant
a
f_29932079
HANDSHAKE
b
f_21760349
PLAY
c
f_45533495
STATUS
d
f_61509709
LOGIN

Field summary

Modifier and TypeField
private static int
e
f_51701242
MIN_ID
private static int
f
f_72560476
MAX_ID
private static final NetworkProtocol[]
g
f_72651702
BY_ID
private static final Map<Class<? extends Packet>, NetworkProtocol>
h
f_82424264
BY_PACKET
private final int
i
f_41295075
id
private final Map<PacketFlow, com.google.common.collect.BiMap<Integer, Class<? extends Packet>>>
j
f_91633760
packets

Constructor summary

ModifierConstructor
private (int arg0)

Method summary

Modifier and TypeMethod
protected NetworkProtocol
a(fg arg0, Class<? extends ff> arg1)
m_96942448(C_35369014 arg0, Class<? extends C_03562565> arg1)
register(PacketFlow flow, Class<? extends Packet> type)
public Integer
a(fg arg0, ff arg1)
m_26121671(C_35369014 arg0, C_03562565 arg1)
getPacketId(PacketFlow flow, Packet packet)
public Packet
a(fg arg0, int arg1)
m_04439178(C_35369014 arg0, int arg1)
createPacket(PacketFlow flow, int id)
public int
a()
m_01202070()
getId()
public static NetworkProtocol
a(int arg0)
m_29151135(int arg0)
byId(int id)
public static NetworkProtocol
a(ff arg0)
m_20817279(C_03562565 arg0)
byPacket(Packet packet)