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

    • getId

      int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lary;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 Lary;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 d Lary;d()Ltl;
      intermediary method_42627 Lnet/minecraft/class_7291;method_42627()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/util/TranslatableOption;getText()Lnet/minecraft/text/Text;