Enum Class InactivityFpsLimit

java.lang.Object
java.lang.Enum<InactivityFpsLimit>
net.minecraft.client.option.InactivityFpsLimit
All Implemented Interfaces:
Serializable, Comparable<InactivityFpsLimit>, Constable, StringIdentifiable, TranslatableOption

@Environment(CLIENT) public enum InactivityFpsLimit extends Enum<InactivityFpsLimit> implements TranslatableOption, StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/client/option/InactivityFpsLimit
intermediary net/minecraft/class_9927
official fmb
  • Enum Constant Details

    • MINIMIZED

      public static final InactivityFpsLimit MINIMIZED
      Mappings:
      Namespace Name Mixin selector
      named MINIMIZED Lnet/minecraft/client/option/InactivityFpsLimit;MINIMIZED:Lnet/minecraft/client/option/InactivityFpsLimit;
      intermediary field_52743 Lnet/minecraft/class_9927;field_52743:Lnet/minecraft/class_9927;
      official a Lfmb;a:Lfmb;
    • AFK

      public static final InactivityFpsLimit AFK
      Mappings:
      Namespace Name Mixin selector
      named AFK Lnet/minecraft/client/option/InactivityFpsLimit;AFK:Lnet/minecraft/client/option/InactivityFpsLimit;
      intermediary field_52744 Lnet/minecraft/class_9927;field_52744:Lnet/minecraft/class_9927;
      official b Lfmb;b:Lfmb;
  • Field Details

    • Codec

      public static final com.mojang.serialization.Codec<InactivityFpsLimit> Codec
      Mappings:
      Namespace Name Mixin selector
      named Codec Lnet/minecraft/client/option/InactivityFpsLimit;Codec:Lcom/mojang/serialization/Codec;
      intermediary field_52745 Lnet/minecraft/class_9927;field_52745:Lcom/mojang/serialization/Codec;
      official c Lfmb;c:Lcom/mojang/serialization/Codec;
    • ordinal

      private final int ordinal
      Mappings:
      Namespace Name Mixin selector
      named ordinal Lnet/minecraft/client/option/InactivityFpsLimit;ordinal:I
      intermediary field_52746 Lnet/minecraft/class_9927;field_52746:I
      official d Lfmb;d:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/option/InactivityFpsLimit;name:Ljava/lang/String;
      intermediary field_52747 Lnet/minecraft/class_9927;field_52747:Ljava/lang/String;
      official e Lfmb;e:Ljava/lang/String;
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      named translationKey Lnet/minecraft/client/option/InactivityFpsLimit;translationKey:Ljava/lang/String;
      intermediary field_52748 Lnet/minecraft/class_9927;field_52748:Ljava/lang/String;
      official f Lfmb;f:Ljava/lang/String;
  • Constructor Details

    • InactivityFpsLimit

      private InactivityFpsLimit(int ordinal, String name, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/option/InactivityFpsLimit;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_9927;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
      official <init> Lfmb;<init>(Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
  • Method Details

    • values

      public static InactivityFpsLimit[] 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 InactivityFpsLimit 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
    • getId

      public int getId()
      Specified by:
      getId in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/util/TranslatableOption;getId()I
      intermediary method_7362 Lnet/minecraft/class_7291;method_7362()I
      official b Lbah;b()I
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface TranslatableOption
      Mappings:
      Namespace Name Mixin selector
      named getTranslationKey Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
      intermediary method_7359 Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
      official a Lbah;a()Ljava/lang/String;
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbba;c()Ljava/lang/String;