public class BiomeLayers extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
COLD_OCEAN_ID |
protected static int |
DEEP_COLD_OCEAN_ID |
protected static int |
DEEP_FROZEN_OCEAN_ID |
protected static int |
DEEP_LUKEWARM_OCEAN_ID |
protected static int |
DEEP_OCEAN_ID |
protected static int |
DEEP_WARM_OCEAN_ID |
protected static int |
FROZEN_OCEAN_ID |
protected static int |
LUKEWARM_OCEAN_ID |
protected static int |
OCEAN_ID |
protected static int |
WARM_OCEAN_ID |
Constructor and Description |
---|
BiomeLayers() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areSimilar(int id1,
int id2) |
static <T extends LayerSampler,C extends LayerSampleContext<T>> |
build(LevelGeneratorType generatorType,
OverworldChunkGeneratorConfig settings,
LongFunction<C> contextProvider) |
static BiomeLayerSampler |
build(long seed,
LevelGeneratorType generatorType,
OverworldChunkGeneratorConfig settings) |
protected static boolean |
isOcean(int id) |
protected static boolean |
isShallowOcean(int id) |
private static <T extends LayerSampler,C extends LayerSampleContext<T>> |
stack(long seed,
ParentedLayer layer,
LayerFactory<T> parent,
int count,
LongFunction<C> contextProvider) |
protected static final int WARM_OCEAN_ID
protected static final int LUKEWARM_OCEAN_ID
protected static final int OCEAN_ID
protected static final int COLD_OCEAN_ID
protected static final int FROZEN_OCEAN_ID
protected static final int DEEP_WARM_OCEAN_ID
protected static final int DEEP_LUKEWARM_OCEAN_ID
protected static final int DEEP_OCEAN_ID
protected static final int DEEP_COLD_OCEAN_ID
protected static final int DEEP_FROZEN_OCEAN_ID
private static <T extends LayerSampler,C extends LayerSampleContext<T>> LayerFactory<T> stack(long seed, ParentedLayer layer, LayerFactory<T> parent, int count, LongFunction<C> contextProvider)
public static <T extends LayerSampler,C extends LayerSampleContext<T>> LayerFactory<T> build(LevelGeneratorType generatorType, OverworldChunkGeneratorConfig settings, LongFunction<C> contextProvider)
public static BiomeLayerSampler build(long seed, LevelGeneratorType generatorType, OverworldChunkGeneratorConfig settings)
public static boolean areSimilar(int id1, int id2)
protected static boolean isOcean(int id)
protected static boolean isShallowOcean(int id)