Uses of Enum Class
net.minecraft.network.ProtocolType
Package
Description
-
Uses of ProtocolType in net.minecraft.network
Modifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<ProtocolType>
NetworkManager.ATTRIBUTE_PROTOCOL
private static final Map<Class<? extends IPacket<?>>,
ProtocolType> ProtocolType.PROTOCOL_BY_PACKET
Modifier and TypeMethodDescriptionstatic ProtocolType
ProtocolType.getById
(int p_150760_0_) static ProtocolType
ProtocolType.getProtocolForPacket
(IPacket<?> p_150752_0_) static ProtocolType
Returns the enum constant of this class with the specified name.static ProtocolType[]
ProtocolType.values()
Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ProtocolType in net.minecraft.network.handshake.client
ModifierConstructorDescriptionCHandshakePacket
(String p_i47613_1_, int p_i47613_2_, ProtocolType p_i47613_3_) -
Uses of ProtocolType in net.minecraftforge.network
Modifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ProtocolType protocol, PacketDirection direction, IPacket<?> packet, List<? super IPacket<?>> out) Append the given packet to the given list.