MCPcopy Create free account
hub / github.com/Hypejet/Jet / ChatType

Class ChatType

api/src/main/java/net/hypejet/jet/chat/ChatType.java:14–26  ·  view source on GitHub ↗

A type of Minecraft chat message. @param chat configuration on how the chat message should be displayed in chat @param narration configuration on how the chat message should be read by the narrator @since 1.0

Source from the content-addressed store, hash-verified

12 * @since 1.0
13 */
14public record ChatType(@NonNull ChatTypeDecoration chat, @NonNull ChatTypeDecoration narration) {
15 /**
16 * Constructs the {@linkplain ChatType chat type}.
17 *
18 * @param chat configuration on how the chat message should be displayed in chat
19 * @param narration configuration on how the chat message should be read by the narrator
20 * @since 1.0
21 */
22 public ChatType {
23 Objects.requireNonNull(chat, "chat");
24 Objects.requireNonNull(narration, "narration");
25 }
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected