Class VanillaLayeredBiomeSource

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

public class VanillaLayeredBiomeSource
extends BiomeSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<VanillaLayeredBiomeSource> CODEC
    • BIOMES

      private static final List<RegistryKey<Biome>> BIOMES
    • biomeSampler

      private final BiomeLayerSampler biomeSampler
    • seed

      private final long seed
    • legacyBiomeInitLayer

      private final boolean legacyBiomeInitLayer
    • largeBiomes

      private final boolean largeBiomes
    • biomeRegistry

      private final Registry<Biome> biomeRegistry
  • Constructor Details

    • VanillaLayeredBiomeSource

      public VanillaLayeredBiomeSource​(long seed, boolean legacyBiomeInitLayer, boolean largeBiomes, Registry<Biome> biomeRegistry)
  • Method Details

    • getCodec

      protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Specified by:
      getCodec in class BiomeSource
    • withSeed

      @Environment(CLIENT) public BiomeSource withSeed​(long seed)
      Specified by:
      withSeed in class BiomeSource
    • getBiomeForNoiseGen

      public Biome getBiomeForNoiseGen​(int biomeX, int biomeY, int biomeZ)