Class OverworldBiomeSource

java.lang.Object
net.minecraft.world.level.biome.BiomeSource
net.minecraft.world.level.biome.OverworldBiomeSource
All Implemented Interfaces:
BiomeManager.NoiseBiomeSource

public class OverworldBiomeSource extends BiomeSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<OverworldBiomeSource> CODEC
    • noiseBiomeLayer

      private final Layer noiseBiomeLayer
    • POSSIBLE_BIOMES

      private static final List<ResourceKey<Biome>> POSSIBLE_BIOMES
    • seed

      private final long seed
    • legacyBiomeInitLayer

      private final boolean legacyBiomeInitLayer
    • largeBiomes

      private final boolean largeBiomes
    • biomes

      private final Registry<Biome> biomes
  • Constructor Details

    • OverworldBiomeSource

      public OverworldBiomeSource(long p_48590_, boolean p_48591_, boolean p_48592_, Registry<Biome> p_48593_)
  • Method Details

    • codec

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

      public BiomeSource withSeed(long p_48596_)
      Specified by:
      withSeed in class BiomeSource
    • getNoiseBiome

      public Biome getNoiseBiome(int p_48605_, int p_48606_, int p_48607_)