Skip to content

Name Generator Datapack

By NetherHJYOwner

一个生成随机名字的数据包 A datapack that generates random names

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

一个生成随机名字的数据包,随机名字生成数据包简称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