Package net.minecraft.client.gui.chat
Class NarratorChatListener
java.lang.Object
net.minecraft.client.gui.chat.NarratorChatListener
- All Implemented Interfaces:
IChatListener
-
Field Summary
Modifier and TypeFieldDescriptionstatic final NarratorChatListener
private static final org.apache.logging.log4j.Logger
private final com.mojang.text2speech.Narrator
static final ITextComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
destroy()
private void
private static NarratorStatus
void
handle
(ChatType p_192576_1_, ITextComponent p_192576_2_, UUID p_192576_3_) boolean
isActive()
void
void
updateNarratorStatus
(NarratorStatus p_216865_1_)
-
Field Details
-
NO_TITLE
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
INSTANCE
-
narrator
private final com.mojang.text2speech.Narrator narrator
-
-
Constructor Details
-
NarratorChatListener
public NarratorChatListener()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceIChatListener
-
sayNow
-
getStatus
-
doSay
-
updateNarratorStatus
-
isActive
public boolean isActive() -
clear
public void clear() -
destroy
public void destroy()
-