Class FrozenBiomeSelectors

java.lang.Object
net.frozenblock.lib.worldgen.biome.api.modifications.FrozenBiomeSelectors

public final class FrozenBiomeSelectors extends Object
Provides several biome selectors with additional functionality.

Based on BiomeSelectors

  • Method Summary

    Modifier and Type
    Method
    Description
    static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext>
    Returns a biome selector that will match all biomes that would normally spawn in the Overworld, assuming Vanilla's default biome source is used.
    static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext>
    foundInOverworldExcept(net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> except)
    Returns a biome selector that will match all biomes that would normally spawn in the Overworld, assuming Vanilla's default biome source is used, except for biomes in the specified tag.
    static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext>
    Returns a biome selector that will match all biomes that would normally spawn in the End, assuming Vanilla's default End biome source is used.
    static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext>
    foundInTheEndExcept(net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> except)
    Returns a biome selector that will match all biomes that would normally spawn in the End, assuming Vanilla's default End biome source is used, except for biomes in the specified tag.
    static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext>
    Returns a biome selector that will match all biomes that would normally spawn in the Nether, assuming Vanilla's default multi noise biome source with the nether preset is used.
    static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext>
    foundInTheNetherExcept(net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> except)
    Returns a biome selector that will match all biomes that would normally spawn in the Nether, assuming Vanilla's default multi noise biome source with the nether preset is used, except for biomes in the specified tag.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • foundInOverworld

      public static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext> foundInOverworld()
      Returns a biome selector that will match all biomes that would normally spawn in the Overworld, assuming Vanilla's default biome source is used.
    • foundInTheNether

      public static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext> foundInTheNether()
      Returns a biome selector that will match all biomes that would normally spawn in the Nether, assuming Vanilla's default multi noise biome source with the nether preset is used.

      This selector will also match modded biomes that have been added to the nether using NetherBiomes.

    • foundInTheEnd

      public static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext> foundInTheEnd()
      Returns a biome selector that will match all biomes that would normally spawn in the End, assuming Vanilla's default End biome source is used.
    • foundInOverworldExcept

      public static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext> foundInOverworldExcept(net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> except)
      Returns a biome selector that will match all biomes that would normally spawn in the Overworld, assuming Vanilla's default biome source is used, except for biomes in the specified tag.
    • foundInTheNetherExcept

      public static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext> foundInTheNetherExcept(net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> except)
      Returns a biome selector that will match all biomes that would normally spawn in the Nether, assuming Vanilla's default multi noise biome source with the nether preset is used, except for biomes in the specified tag.

      This selector will also match modded biomes that have been added to the nether using NetherBiomes.

    • foundInTheEndExcept

      public static Predicate<net.fabricmc.fabric.api.biome.v1.BiomeSelectionContext> foundInTheEndExcept(net.minecraft.tags.TagKey<net.minecraft.world.level.biome.Biome> except)
      Returns a biome selector that will match all biomes that would normally spawn in the End, assuming Vanilla's default End biome source is used, except for biomes in the specified tag.