Class GameNarrator

java.lang.Object
net.minecraft.client.GameNarrator

public class GameNarrator extends Object
  • Field Details

    • NO_TITLE

      public static final Component NO_TITLE
    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • minecraft

      private final Minecraft minecraft
    • narrator

      private final com.mojang.text2speech.Narrator narrator
  • Constructor Details

    • GameNarrator

      public GameNarrator(Minecraft p_240577_)
  • Method Details

    • sayChatNow

      public void sayChatNow(Supplier<Component> p_240600_)
    • sayNow

      public void sayNow(Component p_168786_)
    • sayNow

      public void sayNow(String p_93320_)
    • getStatus

      private NarratorStatus getStatus()
    • logNarratedMessage

      private void logNarratedMessage(String p_168788_)
    • updateNarratorStatus

      public void updateNarratorStatus(NarratorStatus p_93318_)
    • isActive

      public boolean isActive()
    • clear

      public void clear()
    • destroy

      public void destroy()