Enum Class IdentifiedKey.Revision

java.lang.Object
java.lang.Enum<IdentifiedKey.Revision>
com.velocitypowered.api.proxy.crypto.IdentifiedKey.Revision
All Implemented Interfaces:
Ordered<IdentifiedKey.Revision>, Serializable, Comparable<IdentifiedKey.Revision>, Constable
Enclosing interface:
IdentifiedKey

public static enum IdentifiedKey.Revision extends Enum<IdentifiedKey.Revision> implements Ordered<IdentifiedKey.Revision>
The different versions of player keys, per Minecraft version.
  • Enum Constant Details

  • Method Details

    • values

      public static IdentifiedKey.Revision[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static IdentifiedKey.Revision valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBackwardsCompatibleTo

      public Set<IdentifiedKey.Revision> getBackwardsCompatibleTo()
    • getApplicableTo

      public Set<ProtocolVersion> getApplicableTo()