Tags
Creators
Details
1.4.4
Compatibility
Required content
Changes
New Colo Format!
Overview
This update introduces a custom text parser that supports various formatting tags, gradients, colors, click and hover events, and vanilla-style codes. You can combine tags or nest them for powerful text displays.
Features & Examples
-
Bold, Italic, Underline, Strikethrough, Obfuscated
<b>Bold text</b><i>Italic text</i><u>Underlined text</u><strike>Strikethrough text</strike><obf>Obfuscated text</obf>
-
Hex Colors
<#FF0000>This text is red</#><#00FF00>This text is green</#>
-
Gradient
<gradient:#FF0000:#FFFF00:#00FF00>Hello Gradient!</gradient>- You can use multiple hex colors separated by “:” (e.g.
#FF0000:#0000FF:#00FF00). - The parser will blend colors across the text.
-
Click Events
<click:run_command:'/say Hello'>Click to run a command</click><click:suggest_command:'/help'>Click to suggest a command in chat</click><click:open_url:'https://example.com'>Click to open a website</click><click:copy_to_clipboard:'Copied!'>Click to copy text</click>- Note:
run_commandis executed as if the player typed it in chat, so it requires permissions.
-
Hover Events
<hover:show_text:'Hover message here'>Hover over me</hover>
-
Links
<link:https://google.com>Click to open Google</link>- Equivalent to a
click:open_urlevent.
-
Reset
<reset>or<r>resets any formatting to default.
-
Vanilla Formatting Codes
- Use
&followed by a code (e.g.&a,&l,&r):&l= bold&o= italic&n= underline&m= strikethrough&k= obfuscated&r= reset&0-&f= color codes
- Use
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:4Kma4Oms:rXYta4Vj"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:4Kma4Oms:rXYta4Vj"
}

