
Name Lib
What is it?
Name Lib is a library that gets the username of any player for you to use.
How to use it?
Simply run function name_lib:get_name as the player you want the name of, the datapack outputs this to the storage name_lib:main name
Why use Name Lib?
In mineraft there is no single command to get a player name, so this small datapack adds one.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.21.4
- 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 — see the MC Java Mods guides for the full walkthrough.
Verified by MCModsHub
- Downloads as Name Lib V1.zip
- Download size: 2 KB
- Download link checked 20 Aug 2026 — working
These come from our own check of the pack file, not from the source page.