Package net.minecraft.world.biome.layer
Class BiomeLayers
java.lang.Object
net.minecraft.world.biome.layer.BiomeLayers
- All Implemented Interfaces:
BiomeIds
- Mappings:
Namespace Name official dftintermediary net/minecraft/class_3645named net/minecraft/world/biome/layer/BiomeLayers
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Int2IntMapprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intprotected static final intFields inherited from interface net.minecraft.world.biome.BiomeIds
BADLANDS, BADLANDS_PLATEAU, BAMBOO_JUNGLE, BAMBOO_JUNGLE_HILLS, BEACH, BIRCH_FOREST, BIRCH_FOREST_HILLS, COLD_OCEAN, DARK_FOREST, DARK_FOREST_HILLS, DEEP_COLD_OCEAN, DEEP_FROZEN_OCEAN, DEEP_LUKEWARM_OCEAN, DEEP_OCEAN, DEEP_WARM_OCEAN, DESERT, DESERT_HILLS, DESERT_LAKES, ERODED_BADLANDS, FLOWER_FOREST, FOREST, FROZEN_OCEAN, FROZEN_RIVER, GIANT_SPRUCE_TAIGA, GIANT_SPRUCE_TAIGA_HILLS, GIANT_TREE_TAIGA, GIANT_TREE_TAIGA_HILLS, GRAVELLY_MOUNTAINS, ICE_SPIKES, JUNGLE, JUNGLE_EDGE, JUNGLE_HILLS, LUKEWARM_OCEAN, MODIFIED_BADLANDS_PLATEAU, MODIFIED_GRAVELLY_MOUNTAINS, MODIFIED_JUNGLE, MODIFIED_JUNGLE_EDGE, MODIFIED_WOODED_BADLANDS_PLATEAU, MOUNTAIN_EDGE, MOUNTAINS, MUSHROOM_FIELD_SHORE, MUSHROOM_FIELDS, OCEAN, PLAINS, RIVER, SAVANNA, SAVANNA_PLATEAU, SHATTERED_SAVANNA, SHATTERED_SAVANNA_PLATEAU, SNOWY_BEACH, SNOWY_MOUNTAINS, SNOWY_TAIGA, SNOWY_TAIGA_HILLS, SNOWY_TAIGA_MOUNTAINS, SNOWY_TUNDRA, STONE_SHORE, SUNFLOWER_PLAINS, SWAMP, SWAMP_HILLS, TAIGA, TAIGA_HILLS, TAIGA_MOUNTAINS, TALL_BIRCH_FOREST, TALL_BIRCH_HILLS, WARM_OCEAN, WOODED_BADLANDS_PLATEAU, WOODED_HILLS, WOODED_MOUNTAINS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
field_31799
protected static final int field_31799- See Also:
- Mappings:
Namespace Name Mixin selector official aLdft;a:Iintermediary field_31799Lnet/minecraft/class_3645;field_31799:Inamed field_31799Lnet/minecraft/world/biome/layer/BiomeLayers;field_31799:I
-
field_31800
protected static final int field_31800- See Also:
- Mappings:
Namespace Name Mixin selector official arLdft;ar:Iintermediary field_31800Lnet/minecraft/class_3645;field_31800:Inamed field_31800Lnet/minecraft/world/biome/layer/BiomeLayers;field_31800:I
-
field_31801
protected static final int field_31801- See Also:
- Mappings:
Namespace Name Mixin selector official asLdft;as:Iintermediary field_31801Lnet/minecraft/class_3645;field_31801:Inamed field_31801Lnet/minecraft/world/biome/layer/BiomeLayers;field_31801:I
-
field_31802
protected static final int field_31802- See Also:
- Mappings:
Namespace Name Mixin selector official atLdft;at:Iintermediary field_31802Lnet/minecraft/class_3645;field_31802:Inamed field_31802Lnet/minecraft/world/biome/layer/BiomeLayers;field_31802:I
-
field_31803
protected static final int field_31803- See Also:
- Mappings:
Namespace Name Mixin selector official auLdft;au:Iintermediary field_31803Lnet/minecraft/class_3645;field_31803:Inamed field_31803Lnet/minecraft/world/biome/layer/BiomeLayers;field_31803:I
-
field_31804
protected static final int field_31804- See Also:
- Mappings:
Namespace Name Mixin selector official avLdft;av:Iintermediary field_31804Lnet/minecraft/class_3645;field_31804:Inamed field_31804Lnet/minecraft/world/biome/layer/BiomeLayers;field_31804:I
-
BY_CATEGORY
- Mappings:
Namespace Name Mixin selector official awLdft;aw: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 aLdft;a(JLdgi;Ldfc;ILjava/util/function/LongFunction;)Ldfc;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 aLdft;a(ZIILjava/util/function/LongFunction;)Ldfc;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 aLdft;a(JZII)Ldfr;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 aLdft;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 aLdft;a(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Ldft$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 aLdft;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 bLdft;b(I)Zintermediary method_15846Lnet/minecraft/class_3645;method_15846(I)Znamed isShallowOceanLnet/minecraft/world/biome/layer/BiomeLayers;isShallowOcean(I)Z
-