Skip to content

Examples

ioblackshaw edited this page Jun 27, 2025 · 4 revisions

This page contains some examples that can be used as a base for your own packs

Colour Override Definition Examples

White to red text

Replaces all white text using the minecraft:default font with a red colour. Does not replace the white underline and strikethrough decorations

{
  "when": {
    "color": "white",
    "decoration_type": "none",
    "font": "minecraft:default"
  },
  "replace_with": {
    "color": "#fa7373",
    "shadow_color": "#b00000"
  }
}

White to red text override

Custom splash text

Replaces the yellow splash text with a pink colour. Also changes the command selection as they use the same colour

{
  "when": {
    "color": "#ffff00",
    "font": "minecraft:default"
  },
  "replace_with": {
    "color": "#ff81cb",
    "shadow_color": "#7d3861"
  }
}

splash to pink splash to pink command suggestion

Pink alt font

Makes all pieces of text using the minecraft:alt font pink

{
  "when": {
    "font": "alt"
  },
  "replace_with": {
    "color": "#fb00db"
  }
}

Pink alt font

Glowing sign text outline

Makes the white outline of glowing sign text aqua instead of white

{
  "when": {
    "color": {
      "type": "eg_text_customiser:sign_dye",
      "dye": "black",
      "glowing": true,
      "is_glowing_outline": true
    }
  },
  "replace_with": {
    "color": "#00ffff"
  }
}

glowing sign text outline override

Blue bold strikethrough

Makes strikethrough decorations for any bold, minecraft namespaced font blue with an auto generated shadow colour

{
  "when": {
    "bold": true,
    "decoration_type": "strikethrough",
    "font": {
      "type": "eg_text_customiser:regex",
      "regex": {
        "namespace": "^minecraft$"
      }
    }
  },
  "replace_with": {
    "color": "#0033ff"
  },
  "properties": {
    "auto_generate_shadow": true,
    "auto_shadow_multiplier": 0.1
  }
}

image