Class MultiNoiseBiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.MultiNoiseBiomeSource
All Implemented Interfaces:
BiomeAccess.Storage

public class MultiNoiseBiomeSource extends BiomeSource
Mappings:
Namespace Name
official bya
intermediary net/minecraft/class_4766
named net/minecraft/world/biome/source/MultiNoiseBiomeSource
  • Field Details

    • DEFAULT_NOISE_PARAMETERS

      private static final MultiNoiseBiomeSource.NoiseParameters DEFAULT_NOISE_PARAMETERS
      Mappings:
      Namespace Name Mixin selector
      official g Lbya;g:Lbya$a;
      intermediary field_26433 Lnet/minecraft/class_4766;field_26433:Lnet/minecraft/class_4766$class_5487;
      named DEFAULT_NOISE_PARAMETERS Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;DEFAULT_NOISE_PARAMETERS:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
    • CUSTOM_CODEC

      public static final com.mojang.serialization.MapCodec<MultiNoiseBiomeSource> CUSTOM_CODEC
      Used to parse a custom biome source, when a preset hasn't been provided.
      Mappings:
      Namespace Name Mixin selector
      official e Lbya;e:Lcom/mojang/serialization/MapCodec;
      intermediary field_24718 Lnet/minecraft/class_4766;field_24718:Lcom/mojang/serialization/MapCodec;
      named CUSTOM_CODEC Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CUSTOM_CODEC:Lcom/mojang/serialization/MapCodec;
    • CODEC

      public static final com.mojang.serialization.Codec<MultiNoiseBiomeSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      official f Lbya;f:Lcom/mojang/serialization/Codec;
      intermediary field_24719 Lnet/minecraft/class_4766;field_24719:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;CODEC:Lcom/mojang/serialization/Codec;
    • temperatureNoiseParameters

      private final MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters
      Mappings:
      Namespace Name Mixin selector
      official h Lbya;h:Lbya$a;
      intermediary field_26434 Lnet/minecraft/class_4766;field_26434:Lnet/minecraft/class_4766$class_5487;
      named temperatureNoiseParameters Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;temperatureNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
    • humidityNoiseParameters

      private final MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters
      Mappings:
      Namespace Name Mixin selector
      official i Lbya;i:Lbya$a;
      intermediary field_26435 Lnet/minecraft/class_4766;field_26435:Lnet/minecraft/class_4766$class_5487;
      named humidityNoiseParameters Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;humidityNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
    • altitudeNoiseParameters

      private final MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters
      Mappings:
      Namespace Name Mixin selector
      official j Lbya;j:Lbya$a;
      intermediary field_26436 Lnet/minecraft/class_4766;field_26436:Lnet/minecraft/class_4766$class_5487;
      named altitudeNoiseParameters Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;altitudeNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
    • weirdnessNoiseParameters

      private final MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters
      Mappings:
      Namespace Name Mixin selector
      official k Lbya;k:Lbya$a;
      intermediary field_26437 Lnet/minecraft/class_4766;field_26437:Lnet/minecraft/class_4766$class_5487;
      named weirdnessNoiseParameters Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;weirdnessNoiseParameters:Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;
    • temperatureNoise

      private final DoublePerlinNoiseSampler temperatureNoise
      Mappings:
      Namespace Name Mixin selector
      official l Lbya;l:Lddv;
      intermediary field_22078 Lnet/minecraft/class_4766;field_22078:Lnet/minecraft/class_5216;
      named temperatureNoise Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;temperatureNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • humidityNoise

      private final DoublePerlinNoiseSampler humidityNoise
      Mappings:
      Namespace Name Mixin selector
      official m Lbya;m:Lddv;
      intermediary field_22079 Lnet/minecraft/class_4766;field_22079:Lnet/minecraft/class_5216;
      named humidityNoise Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;humidityNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • altitudeNoise

      private final DoublePerlinNoiseSampler altitudeNoise
      Mappings:
      Namespace Name Mixin selector
      official n Lbya;n:Lddv;
      intermediary field_22080 Lnet/minecraft/class_4766;field_22080:Lnet/minecraft/class_5216;
      named altitudeNoise Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;altitudeNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • weirdnessNoise

      private final DoublePerlinNoiseSampler weirdnessNoise
      Mappings:
      Namespace Name Mixin selector
      official o Lbya;o:Lddv;
      intermediary field_22081 Lnet/minecraft/class_4766;field_22081:Lnet/minecraft/class_5216;
      named weirdnessNoise Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;weirdnessNoise:Lnet/minecraft/util/math/noise/DoublePerlinNoiseSampler;
    • biomePoints

      private final List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,​Supplier<Biome>>> biomePoints
      Mappings:
      Namespace Name Mixin selector
      official p Lbya;p:Ljava/util/List;
      intermediary field_24115 Lnet/minecraft/class_4766;field_24115:Ljava/util/List;
      named biomePoints Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;biomePoints:Ljava/util/List;
    • threeDimensionalSampling

      private final boolean threeDimensionalSampling
      Mappings:
      Namespace Name Mixin selector
      official q Lbya;q:Z
      intermediary field_24116 Lnet/minecraft/class_4766;field_24116:Z
      named threeDimensionalSampling Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;threeDimensionalSampling:Z
    • seed

      private final long seed
      Mappings:
      Namespace Name Mixin selector
      official r Lbya;r:J
      intermediary field_24720 Lnet/minecraft/class_4766;field_24720:J
      named seed Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;seed:J
    • instance

      private final Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,​MultiNoiseBiomeSource.Preset>> instance
      Mappings:
      Namespace Name Mixin selector
      official s Lbya;s:Ljava/util/Optional;
      intermediary field_24721 Lnet/minecraft/class_4766;field_24721:Ljava/util/Optional;
      named instance Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;instance:Ljava/util/Optional;
  • Constructor Details

    • MultiNoiseBiomeSource

      public MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,​Supplier<Biome>>> biomePoints)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbya;<init>(JLjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_4766;<init>(JLjava/util/List;)V
      named <init> Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;)V
    • MultiNoiseBiomeSource

      MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,​Supplier<Biome>>> biomePoints, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,​MultiNoiseBiomeSource.Preset>> instance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbya;<init>(JLjava/util/List;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_4766;<init>(JLjava/util/List;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;Ljava/util/Optional;)V
    • MultiNoiseBiomeSource

      private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,​Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbya;<init>(JLjava/util/List;Lbya$a;Lbya$a;Lbya$a;Lbya$a;)V
      intermediary <init> Lnet/minecraft/class_4766;<init>(JLjava/util/List;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;)V
      named <init> Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;)V
    • MultiNoiseBiomeSource

      private MultiNoiseBiomeSource(long seed, List<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,​Supplier<Biome>>> biomePoints, MultiNoiseBiomeSource.NoiseParameters temperatureNoiseParameters, MultiNoiseBiomeSource.NoiseParameters humidityNoiseParameters, MultiNoiseBiomeSource.NoiseParameters altitudeNoiseParameters, MultiNoiseBiomeSource.NoiseParameters weirdnessNoiseParameters, Optional<com.mojang.datafixers.util.Pair<Registry<Biome>,​MultiNoiseBiomeSource.Preset>> instance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbya;<init>(JLjava/util/List;Lbya$a;Lbya$a;Lbya$a;Lbya$a;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_4766;<init>(JLjava/util/List;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Lnet/minecraft/class_4766$class_5487;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;<init>(JLjava/util/List;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource$NoiseParameters;Ljava/util/Optional;)V
  • Method Details

    • method_35242

      public static MultiNoiseBiomeSource method_35242(Registry<Biome> registry, long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbya;a(Lgw;J)Lbya;
      intermediary method_35242 Lnet/minecraft/class_4766;method_35242(Lnet/minecraft/class_2378;J)Lnet/minecraft/class_4766;
      named method_35242 Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;method_35242(Lnet/minecraft/util/registry/Registry;J)Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;
    • getCodec

      protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Specified by:
      getCodec in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbxr;a()Lcom/mojang/serialization/Codec;
      intermediary method_28442 Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/Codec;
    • withSeed

      public BiomeSource withSeed(long seed)
      Specified by:
      withSeed in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbxr;a(J)Lbxr;
      intermediary method_27985 Lnet/minecraft/class_1966;method_27985(J)Lnet/minecraft/class_1966;
      named withSeed Lnet/minecraft/world/biome/source/BiomeSource;withSeed(J)Lnet/minecraft/world/biome/source/BiomeSource;
    • getInstance

      private Optional<MultiNoiseBiomeSource.Instance> getInstance()
      Mappings:
      Namespace Name Mixin selector
      official d Lbya;d()Ljava/util/Optional;
      intermediary method_31085 Lnet/minecraft/class_4766;method_31085()Ljava/util/Optional;
      named getInstance Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;getInstance()Ljava/util/Optional;
    • getBiomeForNoiseGen

      public Biome getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxq$a;b(III)Lbxo;
      intermediary method_16359 Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;
      named getBiomeForNoiseGen Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
    • method_35241

      public static ImmutableList<com.mojang.datafixers.util.Pair<Biome.MixedNoisePoint,​Supplier<Biome>>> method_35241(Registry<Biome> registry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbya;a(Lgw;)Lcom/google/common/collect/ImmutableList;
      intermediary method_35241 Lnet/minecraft/class_4766;method_35241(Lnet/minecraft/class_2378;)Lcom/google/common/collect/ImmutableList;
      named method_35241 Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;method_35241(Lnet/minecraft/util/registry/Registry;)Lcom/google/common/collect/ImmutableList;
    • matchesInstance

      public boolean matchesInstance(long seed)
      Mappings:
      Namespace Name Mixin selector
      official b Lbya;b(J)Z
      intermediary method_28462 Lnet/minecraft/class_4766;method_28462(J)Z
      named matchesInstance Lnet/minecraft/world/biome/source/MultiNoiseBiomeSource;matchesInstance(J)Z