Interface TranslatableOption

All Known Implementing Classes:
Arm, AttackIndicator, ChatVisibility, ChunkBuilderMode, CloudRenderMode, GraphicsMode, ParticlesMode

public interface TranslatableOption
An option whose text can be translated.
Mappings:
Namespace Name
named net/minecraft/util/TranslatableOption
intermediary net/minecraft/class_7291
official ayq
  • Method Details

    • getId

      int getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/util/TranslatableOption;getId()I
      intermediary method_7362 Lnet/minecraft/class_7291;method_7362()I
      official a Layq;a()I
    • getTranslationKey

      String getTranslationKey()
      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 b Layq;b()Ljava/lang/String;
    • getText

      default Text getText()
      Mappings:
      Namespace Name Mixin selector
      named getText Lnet/minecraft/util/TranslatableOption;getText()Lnet/minecraft/text/Text;
      intermediary method_42627 Lnet/minecraft/class_7291;method_42627()Lnet/minecraft/class_2561;
      official d Layq;d()Lwy;