2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_333 net/minecraft/client/util/NarratorManager
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT A bridge between Minecraft and {@link com.mojang.text2speech.Narrator}.
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_18210 LOGGER Lorg/slf4j/Logger;
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_18967 EMPTY Lnet/minecraft/class_2561;
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT An empty text for narration.
|
2019-06-28 17:55:20 -04:00
|
|
|
FIELD field_2055 narrator Lcom/mojang/text2speech/Narrator;
|
2022-07-06 07:57:17 -04:00
|
|
|
FIELD field_39755 client Lnet/minecraft/class_310;
|
|
|
|
METHOD <init> (Lnet/minecraft/class_310;)V
|
|
|
|
ARG 1 client
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_1791 isActive ()Z
|
2022-10-13 04:47:21 -04:00
|
|
|
METHOD method_1792 onModeChange (Lnet/minecraft/class_4065;)V
|
|
|
|
COMMENT Narrates a message informing the user about a changed narration mode
|
|
|
|
COMMENT and displays it in a toast.
|
|
|
|
ARG 1 mode
|
|
|
|
COMMENT the new narrator mode
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_1793 clear ()V
|
|
|
|
METHOD method_19788 narrate (Ljava/lang/String;)V
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT Narrates system text.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see NarratorMode#shouldNarrateSystem
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 text
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT the text to narrate
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_20371 destroy ()V
|
2022-10-13 04:47:21 -04:00
|
|
|
METHOD method_20602 getNarratorMode ()Lnet/minecraft/class_4065;
|
|
|
|
COMMENT {@return the current narrator mode of the client}
|
2021-05-23 14:12:20 -04:00
|
|
|
METHOD method_37015 narrate (Lnet/minecraft/class_2561;)V
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT Narrates system text.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see NarratorMode#shouldNarrateSystem
|
2021-05-23 14:12:20 -04:00
|
|
|
ARG 1 text
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT the text to narrate
|
2021-05-26 06:08:37 -04:00
|
|
|
METHOD method_37016 debugPrintMessage (Ljava/lang/String;)V
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT If the game is {@linkplain net.minecraft.SharedConstants#isDevelopment
|
|
|
|
COMMENT in a development environment}, logs a debug message for a narrated string.
|
2021-05-26 06:08:37 -04:00
|
|
|
ARG 1 message
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT the narrated message
|
2022-11-29 10:35:55 -05:00
|
|
|
METHOD method_44708 narrateChatMessage (Lnet/minecraft/class_2561;)V
|
2022-10-13 04:47:21 -04:00
|
|
|
COMMENT Narrates a lazily supplied chat message.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @see NarratorMode#shouldNarrateChat
|