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 ProtocolVersion
ProtocolVersion.MAXIMUM_VERSION
Represents the highest supported version.static final ProtocolVersion
ProtocolVersion.MINIMUM_VERSION
Represents 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_CONSTANT
A map linking the protocol version number to itsProtocolVersion
representation.static final Set<ProtocolVersion>
ProtocolVersion.SUPPORTED_VERSIONS
Methods in com.velocitypowered.api.network that return ProtocolVersionModifier and TypeMethodDescriptionstatic ProtocolVersion
ProtocolVersion.getProtocolVersion
(int protocol) Gets theProtocolVersion
for the given protocol.static ProtocolVersion
Returns 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 boolean
ProtocolVersion.isSupported
(ProtocolVersion version) Returns whether theProtocolVersion
is 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.