Feature generation/1.19-0.3

From Voluminous Energy
Revision as of 22:24, 29 January 2023 by Eelt (talk | contribs) (Created page with "In 1.19, due to the complete replacement of the <code>BiomeLoadingEvent</code> with Biome Modifiers, ore generation in particular has been reworked. There are also balancing changes compared to 1.18.2. For example, in 1.19-0.3 versions, Bauxite is typically more common than Cinnabar. == Technical background == Biome Modifiers are a Forge-specific technology that is data-driven and can be used to circumvent registering <code>PlacedFeatures</code>. Because these are data-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In 1.19, due to the complete replacement of the BiomeLoadingEvent with Biome Modifiers, ore generation in particular has been reworked. There are also balancing changes compared to 1.18.2. For example, in 1.19-0.3 versions, Bauxite is typically more common than Cinnabar.

Technical background

Biome Modifiers are a Forge-specific technology that is data-driven and can be used to circumvent registering PlacedFeatures. Because these are data-driven, they cannot be defined programmatically (aside from data generation, "datagen") as they are built into the JAR file as JSON files. Therefore, they are not configurable from the configuration toml file. To modify these, you must use a mod that can modify Biome Modifiers or datapack-style JSONs.

For 1.19 you can see the specific biome modifiers that add features here.

Ore blob features

As per vanilla/Mojmaps terminology, an ore "blob" is a clustering of an ore block combined into a feature for world generation. Veins are not features and are part of the chunk generator and were introduced in 1.17.1.

Like vanilla, Voluminous Energy starting with 1.19 releases use multiple features for ores to spawn in ore blobs into the world. This allows the ore blobs to be more common in certain areas and provides the mod developers with finer grain control compared to broad single entries. For example, the same chance level for a smaller anchored range will appear to the player as more common as it's spread out across fewer Y-levels regardless of being spawned uniformly or triangularly.

Below is a table summary of Biome Modifier entries to add Voluminous Energy ore blob features into the world.

Ore Blob Biome Modifiers

JSON entry name Whitelisted Biome tag Blacklisted Biome tag Triangular placement Count Bottom Anchor Top Anchor Rarity
bauxite_ore_beach minecraft:is_beach None Yes 8 62 92 0
bauxite_ore_mountain_high minecraft:is_mountain forge:is_snowy Yes 9 208 256 0
bauxite_ore_mountain_medium minecraft:is_mountain forge:is_snowy Yes 6 144 196 0
bauxite_ore_mountain_low minecraft:is_mountain forge:is_snowy Yes 10 96 140 0
bauxite_ore_overworld minecraft:is_overworld None No 10 10 60 0
cinnabar_ore_beach minecraft:is_beach None Yes 2 62 92 1
cinnabar_ore_mountains minecraft:is_mountain None Yes 7 102 292 0
cinnabar_ore_overworld minecraft:is_overworld None No 9 -64 320 0
eighzo_ore_end minecraft:is_end None No 3 10 36 0
galena_ore_overworld minecraft:is_overworld None No 3 -48 12 0
rutile_ore_overworld minecraft:is_overworld None No 3 -64 -32 0
saltpeter_ore_badlands minecraft:is_badlands minecraft:is_beach
forge:is_water
Yes 1 55 77 10
saltpeter_ore_hot_sandy forge:is_hot
forge:is_sandy
minecraft:is_beach
forge:is_water
No 4 55 320 0