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 dft
intermediary net/minecraft/class_3645
named net/minecraft/world/biome/layer/BiomeLayers
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static Int2IntMap
protected static int
protected static int
protected static int
protected static int
protected static int
protected static int
Fields 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
putCategory(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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Ldft;a:I
intermediary field_31799
Lnet/minecraft/class_3645;field_31799:I
named field_31799
Lnet/minecraft/world/biome/layer/BiomeLayers;field_31799:I
-
field_31800
protected static final int field_31800- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ar
Ldft;ar:I
intermediary field_31800
Lnet/minecraft/class_3645;field_31800:I
named field_31800
Lnet/minecraft/world/biome/layer/BiomeLayers;field_31800:I
-
field_31801
protected static final int field_31801- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official as
Ldft;as:I
intermediary field_31801
Lnet/minecraft/class_3645;field_31801:I
named field_31801
Lnet/minecraft/world/biome/layer/BiomeLayers;field_31801:I
-
field_31802
protected static final int field_31802- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official at
Ldft;at:I
intermediary field_31802
Lnet/minecraft/class_3645;field_31802:I
named field_31802
Lnet/minecraft/world/biome/layer/BiomeLayers;field_31802:I
-
field_31803
protected static final int field_31803- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official au
Ldft;au:I
intermediary field_31803
Lnet/minecraft/class_3645;field_31803:I
named field_31803
Lnet/minecraft/world/biome/layer/BiomeLayers;field_31803:I
-
field_31804
protected static final int field_31804- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official av
Ldft;av:I
intermediary field_31804
Lnet/minecraft/class_3645;field_31804:I
named field_31804
Lnet/minecraft/world/biome/layer/BiomeLayers;field_31804:I
-
BY_CATEGORY
- Mappings:
Namespace Name Mixin selector official aw
Ldft;aw:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
intermediary field_26709
Lnet/minecraft/class_3645;field_26709:Lit/unimi/dsi/fastutil/ints/Int2IntMap;
named BY_CATEGORY
Lnet/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 a
Ldft;a(JLdgi;Ldfc;ILjava/util/function/LongFunction;)Ldfc;
intermediary method_15848
Lnet/minecraft/class_3645;method_15848(JLnet/minecraft/class_3660;Lnet/minecraft/class_3627;ILjava/util/function/LongFunction;)Lnet/minecraft/class_3627;
named stack
Lnet/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 a
Ldft;a(ZIILjava/util/function/LongFunction;)Ldfc;
intermediary method_15847
Lnet/minecraft/class_3645;method_15847(ZIILjava/util/function/LongFunction;)Lnet/minecraft/class_3627;
named build
Lnet/minecraft/world/biome/layer/BiomeLayers;build(ZIILjava/util/function/LongFunction;)Lnet/minecraft/world/biome/layer/util/LayerFactory;
-
build
- Mappings:
Namespace Name Mixin selector official a
Ldft;a(JZII)Ldfr;
intermediary method_15843
Lnet/minecraft/class_3645;method_15843(JZII)Lnet/minecraft/class_3642;
named build
Lnet/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 a
Ldft;a(II)Z
intermediary method_15844
Lnet/minecraft/class_3645;method_15844(II)Z
named areSimilar
Lnet/minecraft/world/biome/layer/BiomeLayers;areSimilar(II)Z
-
putCategory
- Mappings:
Namespace Name Mixin selector official a
Ldft;a(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Ldft$a;I)V
intermediary method_31117
Lnet/minecraft/class_3645;method_31117(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Lnet/minecraft/class_3645$class_5503;I)V
named putCategory
Lnet/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 a
Ldft;a(I)Z
intermediary method_15845
Lnet/minecraft/class_3645;method_15845(I)Z
named isOcean
Lnet/minecraft/world/biome/layer/BiomeLayers;isOcean(I)Z
-
isShallowOcean
protected static boolean isShallowOcean(int id)- Mappings:
Namespace Name Mixin selector official b
Ldft;b(I)Z
intermediary method_15846
Lnet/minecraft/class_3645;method_15846(I)Z
named isShallowOcean
Lnet/minecraft/world/biome/layer/BiomeLayers;isShallowOcean(I)Z
-