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
official apl
intermediary net/minecraft/class_7291
named net/minecraft/util/TranslatableOption
  • Method Details

    • getId

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

      String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official b Lapl;b()Ljava/lang/String;
      intermediary method_7359 Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
    • getText

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