ModsJava
Neilon (Text Library)
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
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
- Automatic command click fixer, no longer requiring
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"
))
)
);
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21.1, 1.21.2, 1.21.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
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
- Ships as neilon-lib-1.1.2.jar — drop this file into the mods folder
- Download size: 28 KB
- Download link checked 10 Sept 2026 — working
These come from our own check of the pack file, not from the source page.