描述
本模组允许玩家、服务器管理员和整合包开发者在创建新世界时添加初始房屋。默认结构类似于 起始房屋,但你可以通过编辑服务器配置文件来更改它。例如,你可以使用 结构方块 保存一个结构模板,并向游戏添加数据包,然后通过添加你结构的资源位置(结构 ID)来修改 INITIAL_HOUSE_STRUCTURES 字段。
对于服务器管理员和整合包开发者来说,你可以精确指定玩家的出生点,例如结构的哪个房间、哪一层以及距离结构多远,这可以通过编辑 INITIAL_HOUSE_PIVOT(定义结构相对于出生点的枢轴位置及生成偏移量,通常是结构的中心或玩家生成的位置)字段和 SPAWN_POINT_SHIFT(定义玩家从出生点生成的具体偏移量,通常将 x 和 z 设置为 0)字段来实现。
编辑配置文件的提示
你可以在 "defaultconfigs" 文件夹中创建配置文件,以确保每次创建世界时都能应用相同的设置。
请注意,如果你想要极其精确地控制出生点,记得将 DISABLE_SPAWN_POINT_RANDOM_SHIFTING 设置为 true。
首先,在创造模式和平原超flat世界预设(不编辑其他设置如旋转和偏移)下,使用结构方块在 (0, ?, 0) 加载一个结构。然后前往你想要玩家生成的位置——例如 (5, ?, 13)。接着将 INITIAL_HOUSE_PIVOT_X 设置为 5,INITIAL_HOUSE_PIVOT_Z 设置为 13,而 INITIAL_HOUSE_PIVOT_Y 则设置为楼层的深度。
一旦你使用这些设置创建了新世界,你可能会发现自己生成在天花板上方。如果是这样,例如比你预期的高出 5 个方块,你应该将 SPAWN_POINT_SHIFT_Y 设置为 -5,以使位置完全正确。
PREVENT_STRUCTURES_GENERATE_IN 用于防止结构在初始房屋周围生成。数值越大,初始房屋周围的非结构区域就越大。将其设置为 -1 以启用正常生成结构。
其他
本模组是为整合包 The Winter Frontier 制作的。
Description
This mod allows players, server operators and modpack developers add an initial house when creating a new world. The default structure looks like Starting House, while you can change it by editing server config file. For example, you can save a structure template by using Structure Block and add a datapack to the game, then modify INITIAL_HOUSE_STRUCTURES field by adding the resource location (structure id) of your structure.
For server operators and modpack developers, you can accurately specify player's spawnpoint, for example, which room of your structure, which floor and how far away from the structure, by editing INITIAL_HOUSE_PIVOT (for pivot and how far away will the structure generated from the spawnpoint, usually the center or where to spawn players of the structure) field and SPAWN_POINT_SHIFT (how far away player will spawn from the spawnpoint, usually set x and z to 0) field.
Hints for Editing the Config
You can create the config in "defaultconfigs" folder to make sure each time you create a world, the same settings will work.
Note that if you want to control the spawn point extremely accurately, remember to set DISABLE_SPAWN_POINT_RANDOM_SHIFTING to true.
First, use structure block and load a structure at (0, ?, 0) in creative mode and superflat world preset without editting any other settings such as rotation and offset. Then go to the position where you want the player to spawn at - for example, (5, ?, 13). Then set INITIAL_HOUSE_PIVOT_X to 5 and INITIAL_HOUSE_PIVOT_Z to 13, while set INITIAL_HOUSE_PIVOT_Y to the depth of the floor.
Once you create a new world with the settings, you may find yourself spawn above the ceiling. If so, for example, 5 blocks higher than what you expect, you should set SPAWN_POINT_SHIFT_Y to -5 to make the position exactly correct.
PREVENT_STRUCTURES_GENERATE_IN prevents structures from generating around the initial house. The bigger it is, the larger the non-struture area around the initial house will be. Set it to -1 to enable structure generate as normal.
Other
This mod is made for modpack The Winter Frontier.
下载 Initial House
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Initial House
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Initial House
下载 Initial House
下载 Initial House
下载 Initial House
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
原版世界生成优化模组
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧