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 classBiomeLayers.Category -
Field Summary
Fields Modifier and Type Field Description private static Int2IntMapfield_26709 -
Constructor Summary
Constructors Constructor Description BiomeLayers() -
Method Summary
Modifier and Type Method Description static booleanareSimilar(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 BiomeLayerSamplerbuild(long seed, boolean old, int biomeSize, int riverSize)protected static booleanisOcean(int id)protected static booleanisShallowOcean(int id)private static voidmethod_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)
-