Back to mods

Modrinth · Minecraft mod

Neilon (Text Library)

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

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Neilon (Text Library) release matches 1.20.3?

Updated 7 months ago
Best match for your filters 1.1.1
Game version 1.20.1, 1.20.2, 1.20.3
Loader Fabric

Neilon (Text Library) 1.1.1 targets 1.20.1, 1.20.2, 1.20.3 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. 1 required mod needs a matching file.

Where it goes

Is Neilon (Text Library) required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Neilon (Text Library) 1.1.1 need?

1.1.1 on 1.20.3. Every mod below is checked against that same setup.

1 required mod needs a matching file

Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

Fabric API Needed by Neilon (Text Library) 1.1.1
required
No matching file

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Neilon (Text Library) without breaking your instance.

Built for Neilon (Text Library) 1.1.1 on 1.20.3. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.1.1. It targets 1.20.1, 1.20.2, 1.20.3 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.1.1. It opens that exact file at the source.

About this project

What does Neilon (Text Library) add?

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"
            ))
        )
    );

Project description from Modrinth.

Pick your setup

Neilon (Text Library) by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

17 available setups

Showing the newest 12 of 17 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Neilon (Text Library) versions and loaders

2 of 3 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.