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()
})
})
})

How to Install WorldJS (Mod)
WorldJS by Notenoughmail is verified for Neoforge across Minecraft versions 1.21.1 (latest release: 1.1.1, file size: 250 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.1) and platform (Neoforge).
- Make sure you have the compatible loader or environment installed for Neoforge.
- Move the downloaded WorldJS file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Add support for defining Biome Squisher series and squishers
- Add builders for dimension types, world presets, biomes, and noise generator settings
- Fix compat fix ProbeJS 8.0.2, which is the new required minimum version if present
- Add ability to define custom feature types
- Fix worldgen-registry
HolderSetparams not functioning with lists of ids