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

    • getId

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