Skip to content

Neilon (Text Library)

FabricMC text library to aid working with Minecraft's text system

Fabric
Loaders
Fabric
Downloads on Modrinth
233
Followers on Modrinth
1
versions
3
Updated
March 29, 2026Mar 29
Published
in 2025
This is a library — other mods need it, and it adds nothing to the game by itself

At a glance

A library: other mods need it
Runs on Fabric
For Minecraft 1.20.1–1.20.6, 1.21.1–1.21.11
Works on either side — install it in the game, on the server, or both
Latest version — 1.1.2 from March 29, 2026
License GPL-3.0-only — free
Where it's needed
In gameoptionalOn serveroptional

Works both in the game and on the server — install where you need it

Game versions1.20.1–1.20.6, 1.21.1–1.21.11

Neilon

Neilon is a Fabric text library to aid in working with Minecraft text.

Featureset

  • Literal text
  • Translation text
  • Keybinding text
  • Basic text styling (bold, italic, underlined, strikethrough, magic)
  • Colors
  • Click actions

    • Command running
    • Command suggestions
    • Opening URLs
    • Copy to clipboard
  • Hover events

    • Text
    • Item
    • Entity
  • QOL text methods

    • Repeat
    • Keybinding
    • Translation
    • Color
  • QOL features

    • Automatic command click fixer, no longer requiring / in front
    • Automatic URL fixer, no longer requiring https:// in front

Planned

  • Gradients

Usage

See the wiki, or directly contribute to our wiki

Update policy

Unless we see high demand, or we need it ourselves, we will follow the latest Minecraft version by looking at Create Fabric, as this mod is used primarily for the SnackBag Create mod server.

We try our best to not introduce breaking changes unless truly necessary. Methods will rather be marked as deprecated

Code example

NText.assemble()
    .text("[Epic Button]")
    .color(Color.RED)
    .hover("What will this do?")
    .click(ClickType.RUN, "kill @s")
    
    .text(" ")
    
    .text("[Another Button]")
    .color(Color.GREEN)
    .hover(NText.of("I suspect this won't be any better.", Color.GREEN))
    .click(ClickType.COPY, "i like trains")
    
    .build();

For reference, this is how it would look like when using vanilla code

Text.literal("[Epic Button]")
    .styled(style -> style
        .withColor(Formatting.RED)
        .withHoverEvent(new HoverEvent(
            HoverEvent.Action.SHOW_TEXT,
            Text.literal("What will this do?")
        ))
        .withClickEvent(new ClickEvent(
            ClickEvent.Action.RUN_COMMAND,
            "kill @s"
        ))
    )
    
    .append(" ")
    
    .append(Text.literal("[Another Button]")
        .styled(style -> style
            .withColor(Formatting.GREEN)
            .withHoverEvent(new HoverEvent(
                HoverEvent.Action.SHOW_TEXT,
                Text.literal("I suspect this won't be any better.")
                    .styled(s -> s.withColor(Formatting.GREEN))
            ))
            .withClickEvent(new ClickEvent(
                ClickEvent.Action.COPY_TO_CLIPBOARD,
                "i like trains"
            ))
        )
    );

FAQ

How to install Neilon (Text Library)?

Install Fabric for your Minecraft version, download Neilon (Text Library) for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Neilon (Text Library) support?

Neilon (Text Library) has builds for Minecraft 1.20.1–1.20.6, 1.21.1–1.21.11.

Is Neilon (Text Library) needed on the server?

Works on either side — install it in the game, on the server, or both

License and source
GNU General Public License v3.0 onlyfree to use and share; changes to the mod itself must be published under the same license
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More