Class BiomeLayers

java.lang.Object
net.minecraft.world.biome.layer.BiomeLayers
All Implemented Interfaces:
BiomeIds

public class BiomeLayers extends Object implements BiomeIds
Mappings:
Namespace Name
official dft
intermediary net/minecraft/class_3645
named net/minecraft/world/biome/layer/BiomeLayers
  • 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

      private static final Int2IntMap 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

      public static BiomeLayerSampler build(long seed, boolean old, int biomeSize, int riverSize)
      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

      private static void putCategory(Int2IntOpenHashMap map, BiomeLayers.Category category, int id)
      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