Uses of Enum Class
net.minecraft.network.ConnectionProtocol
Package
Description
-
Uses of ConnectionProtocol in net.minecraft.network
Modifier and TypeFieldDescriptionprivate static final ConnectionProtocol[]
ConnectionProtocol.LOOKUP
Modifier and TypeFieldDescriptionstatic final io.netty.util.AttributeKey<ConnectionProtocol>
Connection.ATTRIBUTE_PROTOCOL
private static final Map<Class<? extends Packet<?>>,
ConnectionProtocol> ConnectionProtocol.PROTOCOL_BY_PACKET
Modifier and TypeMethodDescriptionstatic ConnectionProtocol
ConnectionProtocol.getById
(int p_129584_) private ConnectionProtocol
Connection.getCurrentProtocol()
static ConnectionProtocol
ConnectionProtocol.getProtocolForPacket
(Packet<?> p_129593_) static ConnectionProtocol
Returns the enum constant of this class with the specified name.static ConnectionProtocol[]
ConnectionProtocol.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionprivate void
Connection.doSendPacket
(Packet<?> p_243260_, PacketSendListener p_243290_, ConnectionProtocol p_243203_, ConnectionProtocol p_243307_) void
Connection.setProtocol
(ConnectionProtocol p_129499_) -
Uses of ConnectionProtocol in net.minecraft.network.protocol.handshake
Modifier and TypeFieldDescriptionprivate final ConnectionProtocol
ClientIntentionPacket.intention
ModifierConstructorDescriptionClientIntentionPacket
(String p_134726_, int p_134727_, ConnectionProtocol p_134728_) -
Uses of ConnectionProtocol in net.minecraftforge.network.filters
Modifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets
(ConnectionProtocol protocol, PacketFlow direction, Packet<?> packet, List<? super Packet<?>> out) Append the given packet to the given list.