Class FrozenOverworldBiomes

java.lang.Object
net.frozenblock.lib.worldgen.biome.api.FrozenOverworldBiomes

public class FrozenOverworldBiomes extends Object
API that exposes the internals of Minecraft's overworld biome code.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, @NotNull net.minecraft.world.level.biome.Climate.TargetPoint targetPoint)
    Adds a biome to the Overworld generator.
    static void
    addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.ParameterPoint parameterPoint)
    Adds a biome to the Overworld generator.
    static void
    addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, float offset, List<net.minecraft.world.level.biome.Climate.Parameter> weirdnesses)
    Adds a biome to the Overworld generator.
    static void
    addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, float offset, net.minecraft.world.level.biome.Climate.Parameter... weirdnesses)
    Adds a biome to the Overworld generator.
    static void
    addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, net.minecraft.world.level.biome.Climate.Parameter depth, float offset, List<net.minecraft.world.level.biome.Climate.Parameter> weirdnesses)
    Adds a biome to the Overworld generator.
    static void
    addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, net.minecraft.world.level.biome.Climate.Parameter depth, float offset, net.minecraft.world.level.biome.Climate.Parameter... weirdnesses)
    Adds a biome to the Overworld generator.
    static boolean
    canGenerateInOverworld(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome)
    Returns true if the given biome can generate in the Overworld, considering the Vanilla Overworld biomes, and any biomes added to the Overworld by mods.

    Methods inherited from class java.lang.Object

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

    • FrozenOverworldBiomes

      public FrozenOverworldBiomes()
  • Method Details

    • addOverworldBiome

      public static void addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, @NotNull net.minecraft.world.level.biome.Climate.TargetPoint targetPoint)
      Adds a biome to the Overworld generator.
      Parameters:
      biome - The biome to add. Must not be null.
      targetPoint - data about the given Biome's spawning information in the Overworld.
      See Also:
      • Climate.TargetPoint
    • addOverworldBiome

      public static void addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.ParameterPoint parameterPoint)
      Adds a biome to the Overworld generator.
      Parameters:
      biome - The Biome to add. Must not be null.
      parameterPoint - data about the given Biome's spawning information in the Overworld.
      See Also:
      • Climate.ParameterPoint
    • addOverworldBiome

      public static void addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, float offset, net.minecraft.world.level.biome.Climate.Parameter... weirdnesses)
      Adds a biome to the Overworld generator.
      Parameters:
      biome - The Biome to add. Must not be null.
      weirdnesses - The specific weirdnesses the biome should be added to.
    • addOverworldBiome

      public static void addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, float offset, List<net.minecraft.world.level.biome.Climate.Parameter> weirdnesses)
      Adds a biome to the Overworld generator.
      Parameters:
      biome - The Biome to add. Must not be null.
      weirdnesses - The specific weirdnesses the biome should be added to.
    • addOverworldBiome

      public static void addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, net.minecraft.world.level.biome.Climate.Parameter depth, float offset, net.minecraft.world.level.biome.Climate.Parameter... weirdnesses)
      Adds a biome to the Overworld generator.
      Parameters:
      biome - The Biome to add. Must not be null.
      weirdnesses - The specific weirdnesses the biome should be added to.
    • addOverworldBiome

      public static void addOverworldBiome(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, net.minecraft.world.level.biome.Climate.Parameter temperature, net.minecraft.world.level.biome.Climate.Parameter humidity, net.minecraft.world.level.biome.Climate.Parameter continentalness, net.minecraft.world.level.biome.Climate.Parameter erosion, net.minecraft.world.level.biome.Climate.Parameter depth, float offset, List<net.minecraft.world.level.biome.Climate.Parameter> weirdnesses)
      Adds a biome to the Overworld generator.
      Parameters:
      biome - The Biome to add. Must not be null.
      weirdnesses - The specific weirdnesses the biome should be added to.
    • canGenerateInOverworld

      public static boolean canGenerateInOverworld(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome)
      Returns true if the given biome can generate in the Overworld, considering the Vanilla Overworld biomes, and any biomes added to the Overworld by mods.