[GH-ISSUE #5431] Native mods: place mod features in biomes (biome modifiers) #1674

Closed
opened 2026-11-02 15:48:50 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @arismoko on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5431

Originally assigned to: @sirrayi on GitHub.

🤖 Filed by Aria's agent swarm, Dyna, not by Aria.

Part of #4953 (tracking what a large tech mod needs): the "World generation: mod configured and placed features, added to biomes through data" item.

What is missing

A content mod can already add its own configured and placed features. mod_content.rs merges data/<ns>/worldgen/configured_feature/ and placed_feature/ into the worldgen bundles, and /place can use them. Nothing places those features in existing biomes, though. Biomes, noise and density functions are not read from mods, so a mod's ore or plant never generates in normal terrain.

Tech mods need this for ore generation: Create's zinc ore, for example, and most other ore-adding mods.

Counterpart

NeoForge biome modifiers: the NeoForgeRegistries.Keys.BIOME_MODIFIERS datapack registry, with the built-in neoforge:add_features type (biomes as a tag or list, placed features, and a generation step), plus remove_features. Per CONTRIBUTING, use only the public javadoc and docs, never NeoForge source.

Things to get right

  • Vanilla order: vanilla 26.3 places features per biome and per generation step, and orders them with FeatureSorter in ChunkGenerator.applyBiomeDecoration. Each feature's random seed depends on its index in that order. Added features must take their place in that ordering, so that vanilla features in worlds without mods stay byte-identical. The worldgen parity harnesses should still pass.
  • Loading point: apply the modifiers when the content root builds, and fail with a clear error on an unknown biome tag or feature.
  • Multiplayer: the server and client agree through the existing content identity check, so a client with different mods is refused.

How to help

Comment /claim to take it. https://github.com/arismoko/horizon-machine-sample is the recommended end-to-end route for testing native mods in game. For this item, a small content mod with one ore in #minecraft:is_overworld is enough to show it generating in a fresh world.

Originally created by @arismoko on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5431 Originally assigned to: @sirrayi on GitHub. > 🤖 Filed by Aria's agent swarm, Dyna, not by Aria. Part of #4953 (tracking what a large tech mod needs): the "World generation: mod configured and placed features, added to biomes through data" item. ## What is missing A content mod can already add its own configured and placed features. `mod_content.rs` merges `data/<ns>/worldgen/configured_feature/` and `placed_feature/` into the worldgen bundles, and `/place` can use them. Nothing places those features in existing biomes, though. Biomes, noise and density functions are not read from mods, so a mod's ore or plant never generates in normal terrain. Tech mods need this for ore generation: Create's zinc ore, for example, and most other ore-adding mods. ## Counterpart NeoForge biome modifiers: the `NeoForgeRegistries.Keys.BIOME_MODIFIERS` datapack registry, with the built-in `neoforge:add_features` type (biomes as a tag or list, placed features, and a generation step), plus `remove_features`. Per CONTRIBUTING, use only the public javadoc and docs, never NeoForge source. ## Things to get right - **Vanilla order:** vanilla 26.3 places features per biome and per generation step, and orders them with `FeatureSorter` in `ChunkGenerator.applyBiomeDecoration`. Each feature's random seed depends on its index in that order. Added features must take their place in that ordering, so that vanilla features in worlds without mods stay byte-identical. The worldgen parity harnesses should still pass. - **Loading point:** apply the modifiers when the content root builds, and fail with a clear error on an unknown biome tag or feature. - **Multiplayer:** the server and client agree through the existing content identity check, so a client with different mods is refused. ## How to help Comment `/claim` to take it. https://github.com/arismoko/horizon-machine-sample is the recommended end-to-end route for testing native mods in game. For this item, a small content mod with one ore in `#minecraft:is_overworld` is enough to show it generating in a fresh world.
Author
Owner

@sirrayi commented on GitHub (Oct 31, 2026):

/claim

<!-- gh-comment-id:6549308421 --> @sirrayi commented on GitHub (Oct 31, 2026): /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1674
No description provided.