本插件可由 MultiVerse(2.0 及以上版本)等世界管理器用作自定义区块生成器,以创建可定制的平坦、整洁的房间风格世界。
你的世界管理器必须支持自定义区块生成,否则此插件将无法工作。MultiVerse 仅在 2.0 及更高版本中支持该功能。
与 MultiVerse 配合使用的示例命令:/mvcreate cleanroom normal -g CleanroomGenerator:64|stone
这将创建一个名为 "cleanroom" 的新世界,其中第 0 层为基岩,第 1-64 层为石头,从而提供总共 65 层(包括基岩)。也可以使用方块 ID 代替方块名称。
你还可以指定多个图层,例如:/mvcreate cleanroom normal -g CleanroomGenerator:10|stone|20|dirt|1|grass
这将创建一个名为 "cleanroom" 的新世界,其中第 0 层为基岩,第 1-10 层为石头,第 11-30 层为泥土,第 31 层为草方块,从而提供总共 32 层(包括基岩)。
如果生成器 ID 以 "." 字符开头,则默认情况下不会将第 0 层生成为基岩,允许你创建太空地图,或在第 0 层使用不同的方块。对于太空地图,出生点设置为 y=64,以便在受到伤害前有一定的下落空间。建议为此类地图使用飞行模组。
如果生成器 ID 以 "^" 字符开头,则第一层将在 y=-64 处生成,而不是 y=0。注意,这可以与上述选项以任何顺序组合,例如 "^." 或 ".^" 是相同的。
更多示例:
/mvcreate cleanroom normal -g CleanroomGenerator: - 创建一个仅包含第 0 层为基岩的地图。
/mvcreate cleanroom normal -g CleanroomGenerator:. - 创建一个空的“太空”地图。
/mvcreate cleanroom normal -g CleanroomGenerator - 创建一个第 0 层为基岩,随后是 64 层石头的地图(当未指定生成器 ID 时的默认情况)。
/mvcreate cleanroom noraml -g CleanroomGenerator:1|minecraft:grass_block[snowy=true] - 创建一个基岩后跟积雪草方块的地图(这是现代格式的一个示例)
更多示例请参见 Wiki
特性:
- 可定制洁净室的的高度和方块类型。
- 支持多层结构。
- 支持类似 WorldEdit 的 regen 命令来重新生成正确的方块。
- 不受 mcedited 洁净室地图那样的大小限制。
- 仅按需生成区块。
- 能够创建无限太空地图(使用 "." 作为生成器 ID 以跳过基岩生成)。
- 支持任意高度的世界(在 CraftBukkit/Minecraft 支持的范围内)- 简而言之:支持高度为 128 和 256 的世界。
- 支持现代方块命名和数据值,如 minecraft:grass_block[snowy=true]
本插件的 1.0.0 及更早版本使用逗号 (,) 作为分隔符,并使用冒号 (:) 来指定方块数据值。1.1.0 及更高版本使用 | 以避免与现代方块名称冲突,并且不再支持方块数据值,转而采用现代方块命名格式。
已知冲突插件:
任何直接调用 createWorld 而不是让你的世界管理器插件调用它(并传入适当的参数以指定 WGEN)的插件都会导致问题。以下插件已知会导致冲突,如果你发现其他导致问题的插件,或者列表中的插件已更新且不再与自定义 WGEN 产生冲突,请告知我。
我接受通过 GitHub 提交的拉取请求。对于错误报告或功能请求,请使用本项目的 GitHub Issues Tracker。
This plugin can be used by world managers such as MultiVerse (version 2.0+) as a Custom Chunk Generator to create customisable flat clean room style worlds.
Your world manager must support Custom Chunk Generation or this will not work. MultiVerse only supports it in version 2.0 and later.
Example usage with MultiVerse: /mvcreate cleanroom normal -g CleanroomGenerator:64|stone
This will create a new world named "cleanroom" with the layer 0 as bedrock and layers 1-64 as stone, thus giving 65 total layers (including bedrock). Block ids are also valid in place of block names.
You can also specify multiple layers such as: /mvcreate cleanroom normal -g CleanroomGenerator:10|stone|20|dirt|1|grass
This would create a new world named "cleanroom" with layer 0 as bedrock, layers 1-10 as stone, layers 11-30 as dirt, and layer 31 as grass thus giving 32 total layers (including bedrock).
If the generator id is prefixed with a "." character, layer0 will not be generated as bedrock by default, allowing you to create space maps, or have a different block at layer0. For space maps, the spawn is set to y=64 to allow some falling before damage is taken. Fly mods are recommended for this sort of map.
If the generator id is prefixed with a "^" character, the first layer will be generated at y=-64 rather than y=0. Note this can be combined with the previous option in any order, eg "^." or ".^" are the same.
Some more examples:
/mvcreate cleanroom normal -g CleanroomGenerator: - Creates a map with only layer0 as bedrock.
/mvcreate cleanroom normal -g CleanroomGenerator:. - Creates an empty 'space' map.
/mvcreate cleanroom normal -g CleanroomGenerator - Creates a map with layer0 as bedrock, followed by 64 stone (default when no generator id is specified).
/mvcreate cleanroom noraml -g CleanroomGenerator:1|minecraft:grass_block[snowy=true] - Creates a map with bedrock followed by snowy grass (this is an example of the modern format)
More examples can be found at the Wiki
Features:
- Customisable height and block types of cleanroom.
- Support for multiple layers.
- Commands like WorldEdit's regen will regenerate the correct blocks.
- World sizes are not restricted as is the case with mcedited cleanroom maps.
- Only generates chunks as required.
- Able to create infinite space maps (using "." as the generator id to skip generation of the bedrock).
- Supports arbitrary height worlds (to within what CraftBukkit/Minecraft supports) - tldr: Supports 128-height and 256-hight worlds.
- Supports modern block naming and data values like minecraft:grass_block[snowy=true]
Version 1.0.0 and earlier of this plugin used a comma (,) as a separator and a colon (:) to specify block data values. 1.1.0 and above use a | to avoid conflicting with modern block names and do not support block data values in favour of the modern block naming format.
Known Conflicting Plugins:
Any plugin which calls createWorld itself rather than letting your world manager plugin call it (with the appropriate parameters to specify WGEN) will cause issues. The following are known to cause conflicts, please let me know if you find any other plugins causing issues, or if any listed have been updated to no longer cause issues with custom WGENs.
I accept pull requests on GitHub. For bug or feature requests, please use the GitHub Issues Tracker for this project.
评论 0
登录后参与评分
还没有评论,来抢沙发吧