随机世界名称
为创建世界界面生成随机的世界名称。一直使用“新世界”是不是有点无聊了?
默认的名称列表可以产生超过 100 亿种不同的组合。
仅在以下两种情况下会使用默认名称:
- 你的电脑太慢,无法在配置的时间限制内(默认 2 秒)生成新名称
- 或者你的存档数量太多,以至于找不到唯一的组合
配置(来自 1.1.0 版本)
配置文件
从 1.1.0 版本开始,配置文件提供以下选项:
| 名称 |
描述 |
默认值 |
name_length |
用于生成名称的单词(名称条目)数量 |
3 |
delimiter |
用于连接条目的分隔符 |
(空格) |
timeout |
生成超时时间(秒) |
2 |
如果安装了 ModMenu,则可以在游戏内进行配置。
资源包配置
可以使用资源包添加额外的名称,也可以将不需要的资源包加入黑名单。
添加名称
位置:assets/random-world-names/names.json
结构:JSON 数组
示例:
[
"name1",
"name2",
"name3",
...
]
资源包黑名单
位置:assets/random-world-names/blacklist.json
结构:JSON 数组
示例:
[
"pack-id",
"other-pack-id",
"third-pack-id",
...
]
注意:通过将 random-world-names 添加到黑名单中,可以禁用默认名称。
1.1.0 版本的配置
低于 1.1.0 的版本仅包含使用 names.json 文件添加名称的功能。
就是这样!
许可证
本模组采用 LGPL-3.0(或任何更高版本)许可证授权。
详细信息,请参阅随附的 许可证文件。
Random world names
Generates random world names for the world creation screen. Just New World gets boring after a while, doesn't it?
The default list of names allows for over 10 billion different combinations.
There are only two cases the default name is used:
- Either your computer is too slow to generate a new name within the configured time limit (default 2 seconds)
- Or you have so many worlds that no unique combinations could be found
Configuration (from version 1.1.0)
Config file
The config file (as of version 1.1.0) offers the following options:
| Name |
Description |
Default value |
name_length |
The number of words (name entries) to generate a name from |
3 |
delimiter |
The delimiter to use for joining the entries |
(Space) |
timeout |
The generation timeout (seconds) |
2 |
In-Game configuration is possible if ModMenu is installed.
Resource pack configuration
Additional names can be added using resource packs, and unwanted packs may be blacklisted.
Adding names
Location: assets/random-world-names/names.json
Structure: Json Array
Example:
[
"name1",
"name2",
"name3",
...
]
Blacklisting Packs
Location: assets/random-world-names/blacklist.json
Structure: Json Array
Example:
[
"pack-id",
"other-pack-id",
"third-pack-id",
...
]
Note: The default names can be disabled by adding random-world-names to the blacklist.
Configuration for versions 1.1.0
Versions below 1.1.0 only contain the functionality to add names using the names.json file.
That's it!
License
This mod is licensed under the LGPL-3.0 (or any later version) license.
For details, please see the included License file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧