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
| 12 | * @since 1.0 |
| 13 | */ |
| 14 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected