Formations 是一个库模组,为数据包生成结构添加了额外功能!
特性
结构类型
Formations 添加了两种新的结构类型:formations:simple 和 formations:pieced。它们大致对应原版的标准结构和拼图结构类型,但具有更好的放置效果更清晰的 JSON 格式。
这两种类型都可以从以下放置方式中选择:
| 标识符 |
描述 |
surface |
将结构放置在固体方块的最顶层 |
ceiling |
将结构放置在固体方块的最底层 |
on_water |
如果这些方块是水,则将结构放置在方块的最顶层 |
on_lava |
如果这些方块是岩浆,则将结构放置在方块的最顶层 |
underground |
将结构放置在方块最顶层和最底层之间的某个位置 |
underground_surface |
将结构放置在方块最顶层和最底层之间,位于开放区域的底部 |
underground_ceiling |
将结构放置在方块最顶层和最底层之间,位于开放区域的顶部 |
underground_buried |
将结构放置在方块最顶层和最底层之间,使其不暴露于任何开放区域 |
underground_on_lava |
将结构放置在方块最顶层和最底层之间,在岩浆上方的开放区域内 |
结构池元素类型
Formations 添加了一种新的结构池元素类型:formations:single_pool_element。该元素类型允许设置不同的地面高度,而不是原版的固定地面高度 0。可以通过 ground_level 键来设置地面高度。
结构处理器
Formations 添加了一系列新的结构处理器。
| 标识符 |
参数 |
描述 |
formations:random_bed_color |
- |
随机化任何床的颜色 |
formations:biome_replacements |
- |
根据生物群系替换某些方块,如木材、砖块和草 |
formations:fill_brewing_stands |
slotFillChance, maxBlazePowder |
用随机药水填充酿造台和烈焰粉 |
formations:fill_chiseled_bookshelves |
slotFillChance |
用附魔书填充雕纹书架 |
formations:block_age |
mossiness, degradation, disintegration |
随机将普通方块替换为苔藓或开裂变体,完整方块替换为台阶或楼梯,随机方块替换为空气 |
formations:random_plant_growth |
minGrowth, maxGrowth |
随机化任何农作物的生长阶段 |
formations:respawn_anchor_charges |
minCharges, maxCharges |
随机化任何重生锚的充能次数 |
formations:waterlogging |
handling |
确定可水浸的方块是否被水浸,选项可在 GitHub 上找到 |
示例
如需查看这些特性的使用示例,您可以查看
Formations Overworld 和
Formations Nether
常见问题
我可以在我的整合包中使用你的模组吗?
是的,请随意在你的整合包中使用我的模组。
Discord
如需获取未来内容、即将推出的模组以及讨论,欢迎加入 SuperMartijn642 的 Discord 服务器!
Formations is a library mod which adds additional features to datapacks for generating structures!
Features
Structure Types
Formations adds two new structure types: formations:simple and formations:pieced. These essentially correspond to the vanilla regular and jigsaw structure types, but with better placement and a clearer json format.
Both types can choose from the following placements:
| Identifier |
Description |
surface |
Will place the structure at the top layer of solid blocks |
ceiling |
Will place the at the bottom layer of solid blocks |
on_water |
Will place the structure at the top layer of blocks if those blocks are water |
on_lava |
Will place the structure at the top layer of blocks if those blocks are lava |
underground |
Will place the structure somewhere between the top and bottom layers of blocks |
underground_surface |
Will place the structure between the top and bottom layers of blocks, at the bottom of an open area |
underground_ceiling |
Will place the structure between the top and bottom layers of blocks, at the top of an open area |
underground_buried |
Will place the structure between the top and bottom layers of blocks, such that it is not exposed to any open area |
underground_on_lava |
Will place the structure between the top and bottom layers of blocks, in an open area on top of lava |
Structure Pool Element Types
Formations adds one new structure pool element type, formations:single_pool_element. The element type allows setting a different ground level rather than vanilla's fixed ground level of 0. The ground level can be set through the ground_level key.
Structure Processors
Formations adds a bunch of new structure processors.
| Identifier |
Parameters |
Description |
formations:random_bed_color |
- |
Randomizes the color of any beds |
formations:biome_replacements |
- |
Replaces certain blocks, such as wood, bricks and grass, based on the biome |
formations:fill_brewing_stands |
slotFillChance, maxBlazePowder |
Fills brewing stands with random potions and blaze powder ` |
formations:fill_chiseled_bookshelves |
slotFillChance |
Fills chiseled bookshelves with enchanted books |
formations:block_age |
mossiness, degradation, disintegration |
Randomly replaces regular blocks with mossy or cracked variants, full blocks with slabs or stairs, random blocks with air |
formations:random_plant_growth |
minGrowth, maxGrowth |
Randomizes the growth stage of any crops |
formations:respawn_anchor_charges |
minCharges, maxCharges |
Randomizes the number of charges of any respawn anchors |
formations:waterlogging |
handling |
Determines whether waterloggable blocks are waterlogged, options can be found on GitHub |
Examples
For examples usage of the features, you can check out
Formations Overworld and
Formations Nether
FAQ
Can I use your mod in my modpack?
Yes, feel free to use my mod in your modpack
Discord
For future content, upcoming mods, and discussion, feel free to join the SuperMartijn642 discord server!
评论 0
登录后参与评分
还没有评论,来抢沙发吧