Class StepsBiomeProvider


@NullMarked @AsOf("2.3.0") public final class StepsBiomeProvider extends WyckBiomeProvider
A biome provider that uses a series of steps to determine the biome at a given position based on context.

Usage:


StepsBiomeProvider provider = StepsBiomeProvider.steps()
    .step((worldInfo, x, y, z) -> {
        if (y > 200) return volcanoBiome;
        if (worldInfo.getEnvironment() == World.Environment.NETHER) return ashBiome;
        return null; // defer to next step
    }, volcanoBiome, ashBiome)
    .step(oceanBiome, (worldInfo, x, y, z) -> y < 40)   // convenience form, auto-registered
    .fallback(plainsBiome)
    .build();

Since:
2.3.0