Class BiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
All Implemented Interfaces:
BiomeAccess.Storage
Direct Known Subclasses:
CheckerboardBiomeSource, FixedBiomeSource, MultiNoiseBiomeSource, TheEndBiomeSource, VanillaLayeredBiomeSource

public abstract class BiomeSource
extends Object
implements BiomeAccess.Storage
  • Field Details

  • Constructor Details

  • Method Details

    • getCodec

      protected abstract com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
    • withSeed

      @Environment(CLIENT) public abstract BiomeSource withSeed​(long seed)
    • getBiomes

      public List<Biome> getBiomes()
    • getBiomesInArea

      public Set<Biome> getBiomesInArea​(int x, int y, int z, int radius)
    • locateBiome

      @Nullable public BlockPos locateBiome​(int x, int y, int z, int radius, Predicate<Biome> predicate, Random random)
    • locateBiome

      @Nullable public BlockPos locateBiome​(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
    • hasStructureFeature

      public boolean hasStructureFeature​(StructureFeature<?> feature)
    • getTopMaterials

      public Set<BlockState> getTopMaterials()