mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
sit message tag
This commit is contained in:
parent
88d523e2dd
commit
5de55e0e7a
1 changed files with 6 additions and 0 deletions
|
@ -336,6 +336,12 @@ public class Utl {
|
|||
}
|
||||
}
|
||||
|
||||
public static MutableText messageTag() {
|
||||
return Text.literal("[").append(Text.literal("Sit!").styled(
|
||||
style -> style.withColor(TextColor.parse("#c400ff").result().orElse(TextColor.fromFormatting(Formatting.DARK_PURPLE))))
|
||||
).append("] ");
|
||||
}
|
||||
|
||||
/**
|
||||
* gets a MutableText using the language key, if on server, using the custom lang reader
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue