Class BiomeLayers

java.lang.Object
net.minecraft.world.biome.layer.BiomeLayers

public class BiomeLayers
extends Object
Mappings:
Namespace Name
official dbm
intermediary net/minecraft/class_3645
named net/minecraft/world/biome/layer/BiomeLayers
  • Field Details

    • BY_CATEGORY

      private static final Int2IntMap BY_CATEGORY
      Mappings:
      Namespace Name Mixin selector
      official a Ldbm;a: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 Ldbm;a(JLdcb;Ldav;ILjava/util/function/LongFunction;)Ldav;
      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 Ldbm;a(ZIILjava/util/function/LongFunction;)Ldav;
      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 Ldbm;a(JZII)Ldbk;
      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 Ldbm;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 Ldbm;a(Lit/unimi/dsi/fastutil/ints/Int2IntOpenHashMap;Ldbm$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 Ldbm;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 Ldbm;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