Class BiomeSpecificWeightedGeneList

java.lang.Object
com.hexagram2021.chromosomelib.registry.BiomeSpecificWeightedGeneList
All Implemented Interfaces:
IWeightedGeneList

public class BiomeSpecificWeightedGeneList extends Object implements IWeightedGeneList
Biome-specific weighted gene list.
  • Field Details

    • commonList

      protected final IWeightedGeneList commonList
      Common gene list - all biomes share the same gene list.
    • biomeSpecificLists

      protected final Map<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>,IWeightedGeneList> biomeSpecificLists
      Biome-specific gene lists - each biome has its own gene list.
  • Constructor Details

    • BiomeSpecificWeightedGeneList

      protected BiomeSpecificWeightedGeneList(IWeightedGeneList commonList, Map<net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>,IWeightedGeneList> biomeSpecificLists)
      Create a BiomeSpecificWeightedGeneList.
      Parameters:
      commonList - the common gene list
      biomeSpecificLists - the biome-specific gene lists
  • Method Details