Class BiomeModifierTest

java.lang.Object
net.neoforged.neoforge.oldtest.world.BiomeModifierTest

public class BiomeModifierTest extends Object

This tests the following features and requirements of biome modifier jsons::

  • Biome modifier jsons are created via datagen.
  • Biome modifiers modify all four modifiable fields in biomes, to ensure patches and coremods apply correctly (generation, spawns, climate, and client effects).
  • Biome modifiers use biome tags to determine which biomes to modify.
  • Biome modifiers add a json feature to modified biomes, to ensure json features are usable in biome modifiers.

If the biome modifiers are applied correctly, then badlands biomes should generate large basalt columns, spawn magma cubes, have red-colored water, and be snowy. Additionally, biomes in the is_forest tag are missing oak trees, pine trees, and skeletons.