Sparse Structures
一款简单且可配置的模组,使所有结构(包括数据包和模组添加的结构)分布得更加稀疏(或更常见!),本质上让它们变得更难/更容易找到。适用于包含大量结构模组的整合包,旨在鼓励探索,并使游戏体验更具挑战性或更加平衡。
注意:此模组不会改变矿石/晶洞或其他类似特性的生成,仅对地形和树木进行极其轻微的调整(对大多数玩家来说不成问题)。
⁉️ 支持
关于模组的疑问?你可以加入我的新 Discord 服务器 discord.gg/cTY4ME6Bkn!
?️ 示例

在模组环境中:

图片中的结构模组:
Tidal towns, Explorify, all Yung's mods, Just Another Structure Pack, MVS, Explorations, Towns and Towers, Dungeons and Taverns...? 功能
- 可配置:你可以更改所有单个结构的稀有度,即使是来自模组和数据包的也能修改。
- 修复 MC-177381:修复了
/locate命令返回的玩家与结构之间距离不正确的问题。 - 导出结构集:你可以使用
/dumpstructuresets命令将所有结构集以配置文件所需的格式导出到文件中。 - 无分离限制:在原版游戏中,结构之间的间隔限制为 4096 个区块(65k 方块)。此模组移除了这一限制,允许结构分布得更加稀疏(如果你出于任何原因需要结构如此罕见的话)。
- 禁用结构:你可以将结构的扩散系数设置为
0来禁用它们。 - 改进的结构分布:通过使用基于结构 ID 的自定义盐值,此模组避免了结构的聚集。这对于那些将盐值保留为
0或在大量结构中使用的某些默认值的模组特别有用。
?️ 配置
配置文件位于实例的 config 文件夹中,名为 sparsestructures.json5。它包含以下选项:
spreadFactor:用于乘积结构间隔和间距的因子。默认值为2,意味着结构会变得两倍罕见。如果你希望结构更常见,可以将此值设置为例如0.5。
你可以将系数设为0来禁用结构。- ⚠️ 警告:非常低的值(如
0.01)会使世界生成过程显著变慢。
- ⚠️ 警告:非常低的值(如
idBasedSalt:一个布尔值,指示用于生成所有结构的盐值是否应基于结构 ID。这是为了避免结构聚集,因为一些模组会将盐值保留为 0。默认值为true。customSpreadFactors:特定结构的自定义扩散系数列表。默认值使林地府邸的罕见程度翻倍作为示例(当全局spreadFactor为 2 时无影响)。如果你想更改某个结构的扩散系数,可以向此列表添加一项。每项是一个 JSON 对象,包含两个字段:name(结构名称)和spreadFactor(结构的扩散系数)。示例如下:
{
"name": "minecraft:mansion",
"spreadFactor": 2
}
// 更多详细信息可以在配置文件中找到
提示:你可以使用自定义命令
/dumpstructuresets将所有结构集导出为正确格式的配置文件。
目前(v2.0),你必须重启游戏才能使配置重新加载。这种行为未来可能会改变。
⚠️ 如果你正在使用模组 "Alex's Caves",请将此模组中的结构系数设置为 1,以避免出现问题。更多信息请参见 #47。
? 依赖项
Fabric API(如果你使用的是 Fabric,或者使用 Quilt 等效版本)
⏱️ 未来更新
- 世界专属配置
- 在配置中支持结构标签
- 能够自定义结构的生物群系限制
- 解决
/locate命令与禁用结构的问题(仅限 1.20.X) - 相互避免生成的选项
- 如果有任何建议,请在此项目仓库中提交 Issue!
添加配置(已在 v2.0 中添加)禁止特定结构生成(已在 v3.0 中添加)支持基于频率的结构生成(已在 v3.0 中添加)
? 已知问题
- 在 1.20.X 版本上尝试定位被禁用的结构会导致内部服务器冻结(重启可解决问题)。此问题在 1.21.X 版本中不存在。
- 与 Cyanide 不兼容
©️ 致谢
图标使用 Gimp 制作,使用了 Twemoji 和 FiraCode
Multiloader Template by jaredlll08
测试帮助来自 kshrubb
Sparse Structures
A simple and configurable mod that makes all (even datapacks and modded) structures more spread out (or more common!), essentially making them rarer/easier to find. Useful in big modpacks with a lot of structures mod to encourage exploration and make the experience more challenging or balanced.
Notice: this does not alter the generation of ores/geodes or other features of this kind, and alters very slightly the terrain and trees (not enough to be an issue to most players).
⁉️ Support
Questions about the mod? You can join my new Discord server at discord.gg/cTY4ME6Bkn!
?️ Examples

In a modded environment:

Structure Mods in the picture :
Tidal towns, Explorify, all Yung's mods, Just Another Structure Pack, MVS, Explorations, Towns and Towers, Dungeons and Taverns...? Features
- Configurable : you can change the rarity of all individual structures, even from mods and datapacks.
- MC-177381 fix : fixes the bug where
/locatereturns an incorrect distance between the player and the structure. - Dump Structure Sets : you can dump all structure sets to a file in the right format for the config using
/dumpstructuresets. - No separation limit : in vanilla, the separation between structures is limited to 4096 chunks (65k blocks). This mod removes this limit, allowing structures to be even more spread out (if for any reason you need structures to be that rare).
- Disabling structures : you can disable structures by setting their spread factor to
0. - Improved structure spread : by using a custom salt based on the structure ID, this mod avoids structure clustering. This is especially useful for mods that leave the salt to
0or some other default value used across a lot of structures.
?️ Configuration
The config can be found in the config folder of your instance, and is named sparsestructures.json5. It contains the following options :
spreadFactor: the factor by which the separation and spacing of structures should be multiplied. The default value is2, which means that structures will be twice as rare. If you want structures to be more common, you can set this value to0.5for example.
You can disable structures with a factor of0.- ⚠️ Warning : a very low value (like
0.01) makes the world generation process considerably slower.
- ⚠️ Warning : a very low value (like
idBasedSalt: a boolean that indicates whether the salt used to generate all structures should be based on the structure ID. This is meant to avoid structure clustering as some mods leave the salt to 0. The default value istrue.customSpreadFactors: a list of custom spread factors for specific structures. The default value makes the mansion twice as rare as an example (which has no effects with a globalspreadFactorof 2). If you want to change the spread factor of a structure, you can add an entry to this list. Each entry is a JSON object with two fields :name(the name of the structure) andspreadFactor(the spread factor of the structure). Here's an example :
{
"name": "minecraft:mansion",
"spreadFactor": 2
}
// More detailed info can be found inside the config file
Tip: you can dump all structure sets to a file in the right format by using the custom command
/dumpstructuresets
For now (v2.0), you have to restart the game for the config to be reloaded. This behavior may change in the future.
⚠️ If you're using the mod "Alex's Caves", please set the structures from this mod to a factor of 1, in order to avoid experiencing issues. See #47 for more info.
? Dependencies
Fabric API (if you're using Fabric, or use the Quilt equivalent)
⏱️ Future Updates
- World-specific configs
- Support for structure tags in the config
- Ability to customize biome constraints for structures
- Solve the issue with the
/locatecommand and disabled structures (1.20.X only) - Mutual structure avoidance option
- Open an issue on this project's repo if you have any suggestion!
Add a config(added in v2.0)Ban specific structures from generating(added in v3.0)Support for frequency-based structure generation(added in v3.0)
? Known Issues
- Trying to locate a structure that is disabled on versions 1.20.X will freeze the internal server (a restart solves the issue). This does not happen on versions 1.21.X.
- Incompatible with Cyanide
©️ Credits
Icon made with Gimp using Twemoji and FiraCode
Multiloader Template by jaredlll08
Help with testing from kshrubb
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
下载 Sparse Structures
26.3 更新
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
原版世界生成优化模组
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧