Class TheEndBiomes

java.lang.Object
net.fabricmc.fabric.api.biome.v1.TheEndBiomes

public final class TheEndBiomes extends Object
API that exposes some internals of the minecraft default biome source for The End.

Experimental feature, may be removed or changed without further notice. Because of the volatility of world generation in Minecraft 1.16, this API is marked experimental since it is likely to change in future Minecraft versions.

  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addBarrensBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> highlands, net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> barrens, double weight)
    Adds the biome as an end barrens of the parent end highlands biome.
    static void
    addHighlandsBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, double weight)
    Adds the biome as an end highlands biome with the specified weight.
    static void
    addMainIslandBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, double weight)
    Adds the biome as a main end island biome with the specified weight; note that this includes the main island and some of the land encircling the empty space.
    static void
    addMidlandsBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> highlands, net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> midlands, double weight)
    Adds the biome as an end midlands of the parent end highlands biome.
    static void
    addSmallIslandsBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, double weight)
    Adds a custom biome as a small end islands biome with the specified weight; small end island biomes make up the smaller islands in between the larger islands of the end.

    Methods inherited from class java.lang.Object

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

    • addMainIslandBiome

      public static void addMainIslandBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, double weight)

      Adds the biome as a main end island biome with the specified weight; note that this includes the main island and some of the land encircling the empty space. Note that adding a biome to this region could potentially mess with the generation of the center island and cause it to generate incorrectly; this method only exists for consistency.

      Parameters:
      biome - the biome to be added
      weight - the weight of the entry. The weight in this method corresponds to its selection likelihood, with heavier biomes being more likely to be selected and lighter biomes being selected with less likelihood. Vanilla biomes have a weight of 1.0
    • addHighlandsBiome

      public static void addHighlandsBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, double weight)

      Adds the biome as an end highlands biome with the specified weight. End Highlands biomes make up the center region of the large outer islands in The End.

      Parameters:
      biome - the biome to be added
      weight - the weight of the entry. The weight in this method corresponds to its selection likelihood, with heavier biomes being more likely to be selected and lighter biomes being selected with less likelihood. The vanilla biome has a weight of 1.0.
    • addSmallIslandsBiome

      public static void addSmallIslandsBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> biome, double weight)

      Adds a custom biome as a small end islands biome with the specified weight; small end island biomes make up the smaller islands in between the larger islands of the end.

      Parameters:
      biome - the biome to be added
      weight - the weight of the entry. The weight in this method corresponds to its selection likelihood, with heavier biomes being more likely to be selected and lighter biomes being selected with less likelihood. The vanilla biome has a weight of 1.0.
    • addMidlandsBiome

      public static void addMidlandsBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> highlands, net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> midlands, double weight)

      Adds the biome as an end midlands of the parent end highlands biome. End Midlands make up the area on the large outer islands between the highlands and the barrens and are similar to edge biomes in the overworld. If you don't call this method, the vanilla biome will be used by default.

      Parameters:
      highlands - The highlands biome to where the midlands biome is added
      midlands - the biome to be added as a midlands biome
      weight - the weight of the entry. The weight in this method corresponds to its selection likelihood, with heavier biomes being more likely to be selected and lighter biomes being selected with less likelihood. The vanilla biome has a weight of 1.0.
    • addBarrensBiome

      public static void addBarrensBiome(net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> highlands, net.minecraft.util.registry.RegistryKey<net.minecraft.world.biome.Biome> barrens, double weight)

      Adds the biome as an end barrens of the parent end highlands biome. End Midlands make up the area on the edge of the large outer islands and are similar to edge biomes in the overworld. If you don't call this method, the vanilla biome will be used by default.

      Parameters:
      highlands - The highlands biome to where the barrends biome is added
      barrens - the biome to be added as a barrens biome
      weight - the weight of the entry. The weight in this method corresponds to its selection likelihood, with heavier biomes being more likely to be selected and lighter biomes being selected with less likelihood. The vanilla biome has a weight of 1.0.