FTB Team Dimensions
免责声明!
与大多数 FTB 模组一样,本模组旨在根据为其创建的整合包的需求,添加、修改和移除 Minecraft 中的功能。
我们从不建议在创建该模组的整合包之外使用此类模组,因为它极有可能与未针对其测试过的模组产生冲突。
概述
FTB Team Dimensions 允许为团队动态创建维度(FTB Teams 是必需的依赖项)。
玩家会在一个预设的大厅结构中加入主世界,其中包含一个传送门;进入传送门后,玩家可以选择在一个新维度中从一种或多种“岛屿”结构中选择一个,该维度将为其团队创建。如果尚未存在,也将自动创建队伍团队。新玩家可以以通常方式加入团队,并在加入后立即被传送到团队现有的维度中。
目前有两种区块生成类型,均用于简单的虚空维度:
- 多生物群系生成,具有类似主世界的生物群系分布;这是默认选项
- 单生物群系生成;在模组配置中将
singleBiomeDimension 设置为 true 以强制整个维度使用单一生物群系。
- 你可以通过
singleBiomeName 配置设置来覆盖所使用的生物群系(默认为 minecraft:the_void)
未来计划在世界生成类型方面提供更多灵活性。
配置
此处至少需要熟悉 1.19.2 的数据驱动世界生成机制。
几乎所有配置都是通过数据包完成的,特别是原版的 structure 和 structure_set,用于定义将在新维度中预生成的预设“岛屿”(始终位于 (0,0) 区块)。还有一个自定义的
ftbdim_prebuilt_structures 数据包类型,用于定义玩家可用的结构(当玩家首次进入大厅传送门时,GUI 中将显示每个已知的 ftbdim_prebuilt_structures 条目的一项)。
默认的预设结构 (data/ftbteamdimensions/ftbdim_prebuilt_structures/island1.json) 大致如下(实际文件中不一定包含可选字段):
{
"id": "ftbteamdimensions:island1",
"structure": "ftbteamdimensions:spawn/island1",
"name": "Simple Island",
// optional fields below here
"author": "FTB Team",
"structure_set": "ftbteamdimensions:default",
"height": 64,
"dimension_type": "ftbteamdimensions:default",
"preview_image": "ftbteamdimensions:textures/spawn/island1.png",
"spawn_override": [ 0, 64, 0 ]
}
- “id” 字段是必填的、唯一的,并且应与 JSON 文件名对应
- “structure” 字段是必填的,并确定将使用的 NBT 结构文件
- 请参阅
data/ftbteamdimensions/structures/spawn/island1.nbt 获取默认岛屿,这是一座由草方块和泥土组成的小岛
- “name” 字段是必填的,是玩家在 GUI 中选择结构时显示的名称
- “author” 字段是可选的,默认为 “FTB Team”——在玩家选择结构时在 GUI 中显示为 “by <author>”
- “structure_set” 字段是可选的,是使用结构集标签
- 默认为
ftbteamdimensions:default,其中仅包含结构集 ftbteamdimensions:start
- 这控制维度生成期间岛屿使用的结构集
- 你可能不需要更改此设置。
- “height” 是可选的,控制出生岛屿生成的绝对 Y 级别。
- 默认为 64。TODO:支持相对于地表的 Y 值。
- “dimension_type” 是可选的,并确定用于创建维度的维度类型
- 默认为
ftbteamdimensions:default,一种类似主世界的维度类型
- “preview_image” 是可选的,指向应在结构选择 GUI 中显示的纹理(应为 128x64);通常是结构的截图,但也可以是任何图像
<modname>:<id> 的默认纹理是 <modname>:textures/spawn/<id>.png
- “spawn_override” 是可选的,可用于在非默认位置生成玩家
- 默认位置是 (0, HEIGHT, 0),其中 HEIGHT 是岛屿 Y 级别(见上面的 “height”)
结构 NBT
结构文件(包括主世界大厅和维度岛屿结构)都是标准的原版 NBT 结构,如通过
结构方块 保存的那样。
有一个重要的要求:所有结构必须包含一个处于数据模式的结构方块,其自定义数据标签为 spawn_point。这用于确定玩家在主世界大厅和创建的团队维度中的出生位置。
创建的结构将始终使 spawn_point 方块位于 (X,Y,Z) = (0,H,0),其中 H = 上述预设结构 JSON 中的 “height” 字段。当结构实际放置到世界中时,数据结构方块会被替换为空气,玩家默认会在此方块内生成(双脚位于该方块中),但请参见上面的 “spawn_override” 字段。
默认的主世界大厅结构位于 data/ftbteamdimensions/structures/lobby.nbt,但可以通过以下两种方式之一进行更改:
- 在模组配置中(参见
ftbteamdimensions-common.toml 中的 lobbyStructure)
- 或者通过数据包直接覆盖!
支持
- 关于整合包的问题,请访问:
- 关于模组的问题,请访问:
- 有任何问题?欢迎加入我们的 Discord:
保持关注

FTB Team Dimensions
Disclaimer!
As with most FTB mods, this mod has been created with the sole purpose of adding, modifying and removing of features in Minecraft based on the requirements of the modpack it was created for.
We never recommend using this kind of mod outside of the pack it was created for as it is very likely to create issues with mods it was not tested against.
Overview
FTB Team Dimensions allows dimensions to be dynamically created for teams (FTB Teams is a required dependency).
Players join the overworld in a prebuilt lobby structure with a portal, and on entering the portal get the option
to choose from one or more "island" structures in a new dimension which will be created for their team. The party team
will also be auto-created if it does not exist yet. New players can join the team in the usual way, and will be
immediately ported to the team's existing dimension upon joining.
Currently, there are two chunk generation types, both for simple void dimensions:
- Multi-biome generation with an overworld-like biome distribution; this is the default
- Single biome generation; set
singleBiomeDimension in mod config to true to enforce a single biome for the entire dimension.
- You can override the biome that is used via the
singleBiomeName config setting (default is minecraft:the_void)
More flexibility is planned in terms of types of world-gen in the future.
Configuration
At least basic familiarity with 1.19.2 data-driven world generation is required here.
Nearly all configuration is done via datapack, in particular the vanilla structure and structure_set to define the
prebuilt "islands" which will be pre-generated in the new dimension (always at the (0,0) chunk). There is also a custom
ftbdim_prebuilt_structures datapack type, which defines which structures are available to the player (when the player
first enters the lobby portal, one entry per known ftbdim_prebuilt_structures will be shown in the GUI).
The default prebuilt structure (data/ftbteamdimensions/ftbdim_prebuilt_structures/island1.json) looks something like (with optional
fields not necessarily included in the actual file):
{
"id": "ftbteamdimensions:island1",
"structure": "ftbteamdimensions:spawn/island1",
"name": "Simple Island",
// optional fields below here
"author": "FTB Team",
"structure_set": "ftbteamdimensions:default",
"height": 64,
"dimension_type": "ftbteamdimensions:default",
"preview_image": "ftbteamdimensions:textures/spawn/island1.png",
"spawn_override": [ 0, 64, 0 ]
}
- "id" field is mandatory, unique, and should correspond to the JSON filename
- "structure" field is mandatory and determines the NBT structure file which will be used
- See
data/ftbteamdimensions/structures/spawn/island1.nbt for the default island, which is a tiny island of grass and dirt
- "name" field is mandatory and is the name displayed in the player's GUI when selecting a structure
- This can be a literal string or a translation key
- "author" field is optional and defaults to "FTB Team" - displayed as "by <author>" in the player's GUI when selecting a structure
- "structure_set" field is optional and is the structure set tag to use
- Defaults to
ftbteamdimensions:default, which includes only the structure set ftbteamdimensions:start
- This controls which structure set(s) will be used for the island during generation of the dimension
- It's unlikely you'll need to change this.
- "height" is optional, and controls the absolute Y-level at which spawn islands are generated.
- Defaults to 64. TODO support for surface-relative Y values.
- "dimension_type" is optional, and determines the dimension type used for created dimensions
- Defaults to
ftbteamdimensions:default, an overworld-like dimension type
- "preview_image" is optional, and points to a texture (which should be 128x64) to be shown in the structure selection GUI; typically a screenshot of the structure, but could be any image
- Default texture for
<modname>:<id> is <modname>:textures/spawn/<id>.png
- "spawn_override" is optional, and can be used to spawn the player at a non-default position
- Default position is (0, HEIGHT, 0), where HEIGHT is the island Y-level (see "height" above)
Structure NBT
Structure files (both for the overworld lobby and dimension island structures) are standard vanilla NBT structures, as saved
via Structure Blocks.
There is one important requirement: all structures must contain one Structure Block in data mode with the custom data
tag spawn_point. This is used to determine where players will spawn in both the overworld lobby and in team dimensions
that are created.
Structures created will always be positioned with the spawn_point block at (X,Y,Z) = (0,H,0), where H = the "height"
field from the prebuilt structure JSON above. The data structure block is replaced with air when the structure is
actually placed into the world, and the player will spawn with their feet in this block by default (but see the
"spawn_override" field above).
The default overworld lobby structure is at data/ftbteamdimensions/structures/lobby.nbt, but this can be changed
in one of two ways:
- in mod config (see
lobbyStructure in ftbteamdimensions-common.toml)
- or simply overwrite it via datapack!
Support
- For Modpack issues, please go here:
- For Mod issues, please go here:
- Just got a question? Check out our Discord:
Keep up to date

评论 0
登录后参与评分
还没有评论,来抢沙发吧