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 bvg
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 Lbvg;g:Lbvg$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 Lbvg;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 Lbvg;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 Lbvg;h:Lbvg$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 Lbvg;i:Lbvg$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 Lbvg;j:Lbvg$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 Lbvg;k:Lbvg$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 Lbvg;l:Lczo;
      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 Lbvg;m:Lczo;
      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 Lbvg;n:Lczo;
      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 Lbvg;o:Lczo;
      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 Lbvg;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 Lbvg;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 Lbvg;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 Lbvg;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

      private 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> Lbvg;<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> Lbvg;<init>(JLjava/util/List;Lbvg$a;Lbvg$a;Lbvg$a;Lbvg$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> Lbvg;<init>(JLjava/util/List;Lbvg$a;Lbvg$a;Lbvg$a;Lbvg$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

    • getCodec

      protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Specified by:
      getCodec in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbux;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

      @Environment(CLIENT) public BiomeSource withSeed​(long seed)
      Specified by:
      withSeed in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbux;a(J)Lbux;
      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 Lbvg;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 Lbuw$a;b(III)Lbuu;
      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;
    • matchesInstance

      public boolean matchesInstance​(long seed)
      Mappings:
      Namespace Name Mixin selector
      official b Lbvg;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