Uses of Enum Class
com.velocitypowered.api.network.ProtocolVersion
Packages that use ProtocolVersion
Package
Description
Provides an interface to interact with the proxy at a low level.
Provides utilities to handle server information.
-
Uses of ProtocolVersion in com.velocitypowered.api.network
Fields in com.velocitypowered.api.network declared as ProtocolVersionModifier and TypeFieldDescriptionstatic final ProtocolVersionProtocolVersion.MAXIMUM_VERSIONRepresents the highest supported version.static final ProtocolVersionProtocolVersion.MINIMUM_VERSIONRepresents the lowest supported version.Fields in com.velocitypowered.api.network with type parameters of type ProtocolVersionModifier and TypeFieldDescriptionstatic final ImmutableMap<Integer,ProtocolVersion> ProtocolVersion.ID_TO_PROTOCOL_CONSTANTA map linking the protocol version number to itsProtocolVersionrepresentation.static final Set<ProtocolVersion>ProtocolVersion.SUPPORTED_VERSIONSMethods in com.velocitypowered.api.network that return ProtocolVersionModifier and TypeMethodDescriptionstatic ProtocolVersionProtocolVersion.getProtocolVersion(int protocol) Gets theProtocolVersionfor the given protocol.static ProtocolVersionReturns the enum constant of this class with the specified name.static ProtocolVersion[]ProtocolVersion.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.velocitypowered.api.network with parameters of type ProtocolVersionModifier and TypeMethodDescriptionstatic booleanProtocolVersion.isSupported(ProtocolVersion version) Returns whether theProtocolVersionis supported. -
Uses of ProtocolVersion in com.velocitypowered.api.proxy
Methods in com.velocitypowered.api.proxy that return ProtocolVersionModifier and TypeMethodDescriptionInboundConnection.getProtocolVersion()Returns the current protocol version this connection uses. -
Uses of ProtocolVersion in com.velocitypowered.api.proxy.crypto
Methods in com.velocitypowered.api.proxy.crypto that return types with arguments of type ProtocolVersion -
Uses of ProtocolVersion in com.velocitypowered.api.proxy.server
Methods in com.velocitypowered.api.proxy.server that return ProtocolVersionModifier and TypeMethodDescriptionPingOptions.getProtocolVersion()The protocol version used to ping the server.Methods in com.velocitypowered.api.proxy.server with parameters of type ProtocolVersionModifier and TypeMethodDescriptionPingOptions.Builder.version(@NotNull ProtocolVersion protocolVersion) Sets the protocol with which the server is to be pinged.