Class NarratorChatListener

java.lang.Object
net.minecraft.client.gui.chat.NarratorChatListener
All Implemented Interfaces:
IChatListener

public class NarratorChatListener extends Object implements IChatListener
  • Field Details

    • NO_TITLE

      public static final ITextComponent NO_TITLE
    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • INSTANCE

      public static final NarratorChatListener INSTANCE
    • narrator

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

    • NarratorChatListener

      public NarratorChatListener()
  • Method Details

    • handle

      public void handle(ChatType p_192576_1_, ITextComponent p_192576_2_, UUID p_192576_3_)
      Specified by:
      handle in interface IChatListener
    • sayNow

      public void sayNow(String p_216864_1_)
    • getStatus

      private static NarratorStatus getStatus()
    • doSay

      private void doSay(boolean p_216866_1_, String p_216866_2_)
    • updateNarratorStatus

      public void updateNarratorStatus(NarratorStatus p_216865_1_)
    • isActive

      public boolean isActive()
    • clear

      public void clear()
    • destroy

      public void destroy()