Enum Class UploadSpeed

java.lang.Object
java.lang.Enum<UploadSpeed>
net.minecraft.client.util.UploadSpeed
All Implemented Interfaces:
Serializable, Comparable<UploadSpeed>, Constable

public enum UploadSpeed extends Enum<UploadSpeed>
  • Enum Constant Details

  • Constructor Details

    • UploadSpeed

      private UploadSpeed()
  • Method Details

    • values

      public static UploadSpeed[] 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 UploadSpeed 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
    • getLargest

      public static UploadSpeed getLargest(long p_237682_0_)
    • convertTo

      public static double convertTo(long p_237683_0_, UploadSpeed p_237683_2_)
    • humanReadable

      public static String humanReadable(long p_237684_0_)
    • humanReadable

      public static String humanReadable(long p_237685_0_, UploadSpeed p_237685_2_)