介绍
World generation integration for KubeJS. Allows for the addition of configured features, placed features, and biome modifiers using KubeJS’s ServerEvents.registry
Supports:
- All vanilla configured feature types (+ a WorldJS custom type)
- All vanilla placement modifier types (+ placed features)
- All NeoForge biome modifiers
Additionally, support for other placement modifier types can be added with the provided PlacedFeatureModifierEvent
Example
ServerEvents.registry('worldgen/configured_feature', event => {
event.create('delta_feature', 'delta_feature')
.size([11, 15])
.rimSize([1, 3])
.rim('minecraft:calcite')
.contents('minecraft:lava')
.withPlacement('minecraft:delta', p => { // Overwrite the vanilla placed feature
p.modifiers(modifiers => {
let { minecraft } = modifiers
minecraft
.countOnEveryLayer(40)
.biome()
})
})
})

常见问题
WorldJS 支持哪些 Minecraft 版本?
WorldJS 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
WorldJS 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Liopyu 的其他作品
查看全部 →EntityJS
本模组使用KubeJS动态注册实体,并完整支持AI、动画和生成控制!
Lios Overhauled Villages
Lio的村庄大修 概述 欢迎来到Lio的村庄大修!这个模组为村庄带来了更现代、更有活力的氛围,是一次全面的改造。
Lios Spiral Tower Villages
Adds unique towering villages with spiral layouts and distinct building styles
KubeJS Iron’s Spells
An addon for KubeJS that allows for creating custom spells, spellbooks, and more from Iron's Spells 'n Spellbooks.
评论
登录后评论和评分