public class NarratorChatListener extends java.lang.Object implements IChatListener
Modifier and Type | Field and Description |
---|---|
static ITextComponent |
EMPTY |
static NarratorChatListener |
INSTANCE |
private static org.apache.logging.log4j.Logger |
LOGGER |
private com.mojang.text2speech.Narrator |
narrator |
Constructor and Description |
---|
NarratorChatListener() |
Modifier and Type | Method and Description |
---|---|
void |
announceMode(NarratorStatus p_216865_1_) |
void |
clear() |
void |
close() |
private static NarratorStatus |
getNarratorStatus() |
boolean |
isActive() |
private void |
say(boolean p_216866_1_,
java.lang.String p_216866_2_) |
void |
say(ChatType chatTypeIn,
ITextComponent message) |
void |
say(java.lang.String p_216864_1_) |
public static final ITextComponent EMPTY
private static final org.apache.logging.log4j.Logger LOGGER
public static final NarratorChatListener INSTANCE
private final com.mojang.text2speech.Narrator narrator
public void say(ChatType chatTypeIn, ITextComponent message)
say
in interface IChatListener
public void say(java.lang.String p_216864_1_)
private static NarratorStatus getNarratorStatus()
private void say(boolean p_216866_1_, java.lang.String p_216866_2_)
public void announceMode(NarratorStatus p_216865_1_)
public boolean isActive()
public void clear()
public void close()