Package net.minecraft.world.biome.layer
Class BiomeLayers
java.lang.Object
net.minecraft.world.biome.layer.BiomeLayers
public class BiomeLayers extends Object
- Mappings:
Namespace Name official dbmintermediary net/minecraft/class_3645named net/minecraft/world/biome/layer/BiomeLayers
-
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 Int2IntMapBY_CATEGORY -
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 voidputCategory(Int2IntOpenHashMap map, BiomeLayers.Category category, int 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)
-
Field Details
-
BY_CATEGORY
- Mappings:
Namespace Name Mixin selector official aLdbm;a:Lit/unimi/dsi/fastutil/ints/Int2IntMap;intermediary field_26709Lnet/minecraft/class_3645;field_26709:Lit/unimi/dsi/fastutil/ints/Int2IntMap;named BY_CATEGORYLnet/minecraft/world/biome/layer/BiomeLayers;BY_CATEGORY:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
-
-
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)- Mappings:
Namespace Name Mixin selector official aLdbm;a(JLdcb;Ldav;ILjava/util/function/LongFunction;)Ldav;intermediary method_15848Lnet/minecraft/class_3645;method_15848(JLnet/minecraft/class_3660;Lnet/minecraft/class_3627;ILjava/util/function/LongFunction;)Lnet/minecraft/class_3627;named stackLnet/minecraft/world/biome/layer/BiomeLayers;stack(JLnet/minecraft/world/biome/layer/type/ParentedLayer;Lnet/minecraft/world/biome/layer/util/LayerFactory;ILjava/util/function/LongFunction;)Lnet/minecraft/world/biome/layer/util/LayerFactory;
-
build
private static <T extends LayerSampler, C extends LayerSampleContext<T>> LayerFactory<T> build(boolean old, int biomeSize, int riverSize, LongFunction<C> contextProvider)- Mappings:
Namespace Name Mixin selector official aLdbm;a(ZIILjava/util/function/LongFunction;)Ldav;intermediary method_15847Lnet/minecraft/class_3645;method_15847(ZIILjava/util/function/LongFunction;)Lnet/minecraft/class_3627;named buildLnet/minecraft/world/biome/layer/BiomeLayers;build(ZIILjava/util/function/LongFunction;)Lnet/minecraft/world/biome/layer/util/LayerFactory;
-
build
- Mappings:
Namespace Name Mixin selector official aLdbm;a(JZII)Ldbk;intermediary method_15843Lnet/minecraft/class_3645;method_15843(JZII)Lnet/minecraft/class_3642;named buildLnet/minecraft/world/biome/layer/BiomeLayers;build(JZII)Lnet/minecraft/world/biome/source/BiomeLayerSampler;
-
areSimilar
public static boolean areSimilar(int id1, int id2)- Mappings:
Namespace Name Mixin selector official aLdbm;a(II)Zintermediary method_15844Lnet/minecraft/class_3645;method_15844(II)Znamed areSimilarLnet/minecraft/world/biome/layer/BiomeLayers;areSimilar(II)Z
-
putCategory
- Mappings:
Namespace Name Mixin selector official aLdbm;a(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Ldbm$a;I)Vintermediary method_31117Lnet/minecraft/class_3645;method_31117(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Lnet/minecraft/class_3645$class_5503;I)Vnamed putCategoryLnet/minecraft/world/biome/layer/BiomeLayers;putCategory(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Lnet/minecraft/world/biome/layer/BiomeLayers$Category;I)V
-
isOcean
protected static boolean isOcean(int id)- Mappings:
Namespace Name Mixin selector official aLdbm;a(I)Zintermediary method_15845Lnet/minecraft/class_3645;method_15845(I)Znamed isOceanLnet/minecraft/world/biome/layer/BiomeLayers;isOcean(I)Z
-
isShallowOcean
protected static boolean isShallowOcean(int id)- Mappings:
Namespace Name Mixin selector official bLdbm;b(I)Zintermediary method_15846Lnet/minecraft/class_3645;method_15846(I)Znamed isShallowOceanLnet/minecraft/world/biome/layer/BiomeLayers;isShallowOcean(I)Z
-