Neilon (Text Library)
FabricMC text library to aid working with Minecraft's text system
About this Mod
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"
))
)
);
Available Versions
How to Install Neilon (Text Library) on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Neilon (Text Library)". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+14 more)
Server-side
~ OptionalRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Neilon (Text Library) server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Neilon (Text Library) compatible with fabric?
Neilon (Text Library) officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Neilon (Text Library) – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Neilon (Text Library) consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Neilon (Text Library) with just one click on your server.