Class FrozenOverworldBiomes
java.lang.Object
net.frozenblock.lib.worldgen.biome.api.FrozenOverworldBiomes
API that exposes the internals of Minecraft's overworld biome code.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddOverworldBiome(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 voidaddOverworldBiome(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 voidaddOverworldBiome(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 voidaddOverworldBiome(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 voidaddOverworldBiome(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 voidaddOverworldBiome(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 booleancanGenerateInOverworld(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.
-
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 givenBiome'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- TheBiometo add. Must not be null.parameterPoint- data about the givenBiome'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- TheBiometo 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- TheBiometo 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- TheBiometo 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- TheBiometo 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.
-