WorldJS

KubeJS addon for changing world generation features

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

image

The WorldJS Team

profile avatar
  • 1
    Followers
  • 5
    Projects
  • 2.3M
    Downloads

More from NotEnoughMailView all

  • KubeJS TFC project image

    KubeJS TFC

    • 873.9K
    • Mods

    KubeJS TFC integration

    • 873.9K
    • April 19, 2026
    • Mods
  • EntityJS project image

    EntityJS

    • 7.8M
    • Mods

    This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!

    • 7.8M
    • March 23, 2026
    • Mods
    • +1
  • TFCGenViewer project image

    TFCGenViewer

    • 688.8K
    • Mods

    Preview your TFC worlds before creating them!

    • 688.8K
    • February 21, 2026
    • Mods
    • +4
  • Precision Prospecting project image

    Precision Prospecting

    • 786.9K
    • Mods

    The range on the Prospector's Pick is too large

    • 786.9K
    • September 21, 2025
    • Mods
    • +1
  • KubeJS TFC project image

    KubeJS TFC

    • 873.9K
    • Mods

    KubeJS TFC integration

    • 873.9K
    • April 19, 2026
    • Mods
  • EntityJS project image

    EntityJS

    • 7.8M
    • Mods

    This mod uses KubeJS to dynamically register entities with full AI/Animation/Spawn Control support!

    • 7.8M
    • March 23, 2026
    • Mods
    • +1
  • TFCGenViewer project image

    TFCGenViewer

    • 688.8K
    • Mods

    Preview your TFC worlds before creating them!

    • 688.8K
    • February 21, 2026
    • Mods
    • +4
  • Precision Prospecting project image

    Precision Prospecting

    • 786.9K
    • Mods

    The range on the Prospector's Pick is too large

    • 786.9K
    • September 21, 2025
    • Mods
    • +1