blob: 345ac0ef5e348598f6a253cb23a0d62c467d299c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package moe.nea.firmament.events
import net.minecraft.text.Text
import moe.nea.firmament.util.unformattedString
/**
* This event gets published whenever the client receives a chat message from the server.
*/
data class ServerChatLineReceivedEvent(val text: Text) : FirmamentEvent.Cancellable() {
companion object : FirmamentEventBus<ServerChatLineReceivedEvent>()
val unformattedString = text.unformattedString
}
|