

一个生成随机名字的数据包,随机名字生成数据包简称NGD 占用 29999997, 0, -1477 到 29999996, 2, -1479 的方块
A datapack that can generate random names, Name Generator Datapack, you can also call it NGD
blocks from 29999997 0 -1477 to 29999996 2 -1479 will be placed
执行下列函数生成名字
Commands that generate names
/function ngd:name/generator/chinese/whole
/function ngd:name/generator/english/whole
tp到生成名字的地方
commands that tp the player to the place where generate the names
/function ngd:tp
参考 Thanks to
大部分指令 most commands:mc中文wiki https://zh.minecraft.wiki/
字符串拼接 string merge:天起源的T算法库 https://www.mcmod.cn/class/11569.html
随机数处理 random number:ruhuasiyu的数据包教程 https://zhangshenxing.github.io/VanillaModTutorial
演示视频(video):https://www.bilibili.com/video/BV1ib421E77Q
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.17, 1.17.1, 1.18
- 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.
- Downloads as name_generator_datapack_1.17-1.19.4.zip
- Download size: 37 KB
- Download link checked 23 Aug 2026 — working
These come from our own check of the pack file, not from the source page.