Package net.minecraft.world.biome.layer
Class BiomeLayers
java.lang.Object
net.minecraft.world.biome.layer.BiomeLayers
public class BiomeLayers extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
BiomeLayers.Category
-
Field Summary
Fields Modifier and Type Field Description private static Int2IntMap
field_26709
-
Constructor Summary
Constructors Constructor Description BiomeLayers()
-
Method Summary
Modifier and Type Method Description static boolean
areSimilar(int id1, int id2)
private static <T extends LayerSampler, C extends LayerSampleContext<T>>
LayerFactory<T>build(boolean old, int biomeSize, int riverSize, LongFunction<C> contextProvider)
static BiomeLayerSampler
build(long seed, boolean old, int biomeSize, int riverSize)
protected static boolean
isOcean(int id)
protected static boolean
isShallowOcean(int id)
private static void
method_31117(Int2IntOpenHashMap int2IntOpenHashMap, BiomeLayers.Category category, int int2)
private static <T extends LayerSampler, C extends LayerSampleContext<T>>
LayerFactory<T>stack(long seed, ParentedLayer layer, LayerFactory<T> parent, int count, LongFunction<C> contextProvider)
-
Field Details
-
field_26709
-
-
Constructor Details
-
BiomeLayers
public BiomeLayers()
-
-
Method Details
-
stack
private static <T extends LayerSampler, C extends LayerSampleContext<T>> LayerFactory<T> stack(long seed, ParentedLayer layer, LayerFactory<T> parent, int count, LongFunction<C> contextProvider) -
build
private static <T extends LayerSampler, C extends LayerSampleContext<T>> LayerFactory<T> build(boolean old, int biomeSize, int riverSize, LongFunction<C> contextProvider) -
build
-
areSimilar
public static boolean areSimilar(int id1, int id2) -
method_31117
private static void method_31117(Int2IntOpenHashMap int2IntOpenHashMap, BiomeLayers.Category category, int int2) -
isOcean
protected static boolean isOcean(int id) -
isShallowOcean
protected static boolean isShallowOcean(int id)
-