Skip to content

Chat Formatting

jtljac edited this page Sep 24, 2023 · 1 revision

Dat Modding API offers an easy way to create formatted chat messages with variable replacements: DatMessageFormatter.

Using DatMessageFormatter

DatMessageFormatter can be accessed in two ways:

// Accessing // DatChatFormatting.formatMessage // DatMessageFormatter().parse()

// Formatting instructions // General Layout // Formatting // Variable // Component // Reset // <

Clone this wiki locally