Uses of Enum Class
net.minecraft.network.ConnectionProtocol
Package
Description
-
Uses of ConnectionProtocol in net.minecraft.network
Modifier and TypeFieldDescriptionstatic io.netty.util.AttributeKey<ConnectionProtocol>
Connection.ATTRIBUTE_PROTOCOL
private static 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_178304_, io.netty.util.concurrent.GenericFutureListener<? extends io.netty.util.concurrent.Future<? super Void>> p_178305_, ConnectionProtocol p_178306_, ConnectionProtocol p_178307_)
void
Connection.setProtocol(ConnectionProtocol p_129499_)
-
Uses of ConnectionProtocol in net.minecraft.network.protocol.handshake
ModifierConstructorDescriptionClientIntentionPacket(String p_134726_, int p_134727_, ConnectionProtocol p_134728_)
-
Uses of ConnectionProtocol in net.minecraftforge.network
Modifier and TypeMethodDescriptionstatic void
VanillaPacketSplitter.appendPackets(ConnectionProtocol protocol, PacketFlow direction, Packet<?> packet, List<? super Packet<?>> out)
Append the given packet to the given list.