跳到正文

Initial House

作者:Viola_Siemens

Generate a structure only located at the spawnpoint of the world

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 支持哪些 Minecraft 版本?

Initial House 支持 Minecraft Java 版 1.18.2–1.21.1,共 5 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Initial House 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Viola_Siemens 的其他作品

查看全部 →