
一个通过提供不可修改特性的替代方案来扩展原版世界生成的库
模组的目标是什么?
Reef 的主要目标是使原版世界生成变得可配置。我们实现这一目标的方式是不更改原版内容,而是在其基础上进行添加。例如,如果我们希望自定义冰锥(Ice Spike)特性,Reef 的做法是创建一个全新的、完全可配置的相同特性。因此,无需使用粗糙的 Mixin 混入代码,也不会破坏与其他模组的兼容性。当然,并非所有情况都能如此处理,在这些情况下,我们将采取侵入性最小的方案。
模组的功能有哪些?
Reef 做了很多事情!好吧,目前只有少数功能,但我们有着宏大的计划。
目前,该模组添加了可以正确配置的原版特性副本。已添加自定义标签(Custom Tags)以允许冰山或侵蚀恶地(Eroded Badlands)在生物群系中生成。以及自定义结构池投影(StructurePool Projection)(有关此内容的警告请参阅下方警告部分)。
内容列表
- 自定义特性:
- 尖刺("Ice Spike" 特性,但可配置)
- 倒置尖刺("Spike" 特性,但是上下颠倒的)
- 怪物房间("Dungeon" 特性,但可配置)
- 结构部件(类似于 "Fossil" 特性,但没有强制的高度偏移)
- 大型洞穴柱("Large Dripstone",但可配置)
- 特性列表(将列表中所有特性放置出来)
- 自定义标签:
has_eroded_pillar(将应用自定义的侵蚀恶地表面构建器,该构建器经过调整以使用 OCEAN_FLOOR_WG)
has_vanilla_badlands_pillar(将应用原版侵蚀恶地表面构建器。仅应用于阻止原版生成。在水中会失效)
has_iceberg(将应用冰山表面构建器)
- 结构池投影:
SEAFLOOR_MATCHING(添加海底匹配投影。有关此内容的警告请参阅下方警告部分。)
库的未来
虽然这个库仍处于开发的早期阶段,但我们已经有计划完全弃用此模组。因为计划将其作为我们未来模组 VoidLib 中的一个模块。
为什么?
因为将所有使用的库整合到一个 jar 文件中会更整洁,有点像 Fapi 或 QSL。
那为什么不直接发布 VoidLib 呢?
因为 Gradle 多模块项目太难搞了 :(
警告
由于模组目前处于非常早期的阶段,因此还有一些尚未修复的问题。
截至当前版本(0.1.2),存在以下警告:
结构池投影 SEAFLOOR_MATCHING
该投影存在,但行为与预期不符。
请不要将其用于任何用途,仅用于测试。
自定义特性
当前的所有特性都是为我们正在开发的世界生成模组快速且杂乱地制作的。它们尚未得到适当的清理和优化。因此,请预期它们在特性和配置上都会发生变化。
Wiki
截至当前更新(0.1.2),没有 Wiki。
这只是一条说明 Ender 正在编写 Wiki 的通知。
如果在 (0.1.2) 发布一个月后仍没有 Wiki,请在 Discord 上 @ Ender。

Library that extends vanilla worldgen by providing alternatives to unmodifiable features
What is the goal of the mod?
The main goal of Reef is to take vanilla world gen and make it configurable. The way we want to achieve this is by
not changing vanilla, but adding to it. So let's say we want to be able to customize the Ice Spike feature, the way Reef
approaches this is by creating a new identical feature that is fully customizable. So there is no need for dirty mixins and
breaking compatibility with other mods. This is not possible in all cases of course, and in those cases we will take
the least intrusive option.
What Does the mod do?
Reef does a lot of things! Well, only a few for now, but we have great plans.
Currently, the mod adds duplicates of vanilla features that can be properly configured. Custom Tags have been added to
enable icebergs or eroded badlands generation to occur in biomes. And a Custom StructurePool Projection (See warning
section about this.)
Contents
- Custom Features:
- Spike ("Ice Spike" Feature, but customizable)
- Inverted Spike ("Spike" Feature, but is upside down)
- Monster Room ("Dungeon" Feature, but customizable)
- Structure Piece (Similar to "Fossil" Feature, but with no forced height offset)
- Large Cave Pillar ("Large Dripstone", but customizable)
- Feature List (Places all features in a list)
- Custom Tags:
has_eroded_pillar (Will apply a custom Eroded Badlands Surface Builder, which has been tweaked to use OCEAN_FLOOR_WG)
has_vanilla_badlands_pillar (Will apply the vanilla Eroded Badlands Surface Builder. Should only be used to stop vanilla from generating. Will break in water)
has_iceberg (Will apply the Iceberg Surface Builder)
- StructurePool Projections:
SEAFLOOR_MATCHING (Adds seafloor matching projection. See warning section about this.)
Future of the lib
While this lib is only in the early stages of development. We already have plans to fully deprecate this mod. Since This
is planned to be just one module from our future mod VoidLib.
Why?
Because it is nicer to have a single jar file for all the libs we use, kinda like Fapi or QSL
Then why not just release VoidLib?
Because Gradle multi-module projects are hard :(
WARNING
As the mod is currently in very early stages, so there are some kinks we have not fixed.
As of the current version (0.1.2) here are the current warning:
StructurePool Projection SEAFLOOR_MATCHING
This projection exists but does not behave anything like expected.
Please don't use it for anything, but testing.
Custom Features
All the current features were made quickly and very messily for a world gen mod we were working on. They have not been
property cleaned up and optimized. So do expect them to change, both as features and their configs.
Wiki
As of the current update (0.1.2) there is no wiki.
This is just a note saying that Ender is working on one.
If there isn't one more than a month after the (0.1.2) release, go @ Ender on discord
评论 0
登录后参与评分
还没有评论,来抢沙发吧