HomeJavaModsCreate: Display Regex
Create: Display Regex
Create: Display Regex — screenshot 1Create: Display Regex — screenshot 2

Create: Display Regex

Create: Display Regex is a small Fabric addon for Create Fly that adds configurable regular-expression replacement to Display Links.

It lets you modify the text produced by a Display Link before it is sent to its display target, without changing the original source data.

For example:

Input:       AAA BBB CCC
Pattern:     ^\S+\s+
Replacement:
Output:      BBB CCC

Features

Example uses

Remove the first space-separated section:

Pattern: ^\S+\s+

Keep only the final section:

Pattern: ^.*\s+

Replace spaces with separators:

Pattern: \s+
Replacement:  - 

Remove numbers:

Pattern: \d+

Requirements

The mod is intended for both client and server. The server must have the mod installed, and clients that want to configure regex rules should install it as well.

Notes

Regex processing affects only the text sent to the display target. The underlying source block and its data remain unchanged.

Invalid rules are rejected by the configuration screen, and invalid runtime replacements fall back to the original text instead of modifying the source data.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more