Class ScreenNarrator

java.lang.Object
net.minecraft.client.gui.screen.narration.ScreenNarrator

@Environment(CLIENT) public class ScreenNarrator extends Object
Mappings:
Namespace Name
official ejy
intermediary net/minecraft/class_6385
named net/minecraft/client/gui/screen/narration/ScreenNarrator
  • Field Details

    • currentMessageIndex

      int currentMessageIndex
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a:I
      intermediary field_33796 Lnet/minecraft/class_6385;field_33796:I
      named currentMessageIndex Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;currentMessageIndex:I
    • narrations

      Mappings:
      Namespace Name Mixin selector
      official b Lejy;b:Ljava/util/Map;
      intermediary field_33797 Lnet/minecraft/class_6385;field_33797:Ljava/util/Map;
      named narrations Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;narrations:Ljava/util/Map;
  • Constructor Details

    • ScreenNarrator

      public ScreenNarrator()
  • Method Details

    • buildNarrations

      public void buildNarrations(Consumer<NarrationMessageBuilder> builderConsumer)
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a(Ljava/util/function/Consumer;)V
      intermediary method_37044 Lnet/minecraft/class_6385;method_37044(Ljava/util/function/Consumer;)V
      named buildNarrations Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;buildNarrations(Ljava/util/function/Consumer;)V
    • buildNarratorText

      public String buildNarratorText(boolean forceTransform)
      Mappings:
      Namespace Name Mixin selector
      official a Lejy;a(Z)Ljava/lang/String;
      intermediary method_37045 Lnet/minecraft/class_6385;method_37045(Z)Ljava/lang/String;
      named buildNarratorText Lnet/minecraft/client/gui/screen/narration/ScreenNarrator;buildNarratorText(Z)Ljava/lang/String;