Package net.minecraft.client.gui.chat
Class ClientChatPreview
java.lang.Object
net.minecraft.client.gui.chat.ClientChatPreview
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private ClientChatPreview.Preview
private static final long
private final ChatPreviewRequests
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
clear()
void
disable()
void
handleResponse
(int p_232414_, Component p_232415_) boolean
(package private) static String
normalizeQuery
(String p_232426_) peek()
boolean
queryEquals
(String p_242426_) private void
sendOrScheduleRequest
(String p_232423_) void
tick()
void
-
Field Details
-
PREVIEW_VALID_AFTER_MS
private static final long PREVIEW_VALID_AFTER_MS- See Also:
-
lastQuery
-
scheduledRequest
-
requests
-
preview
-
-
Constructor Details
-
ClientChatPreview
-
-
Method Details
-
tick
public void tick() -
update
-
sendOrScheduleRequest
-
disable
public void disable() -
clear
private void clear() -
handleResponse
-
hasScheduledRequest
public boolean hasScheduledRequest() -
queryEquals
-
peek
-
pull
-
normalizeQuery
-