Class RaidRegistry.RaidBiomeGrouping

java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RaidRegistry.RaidBiomeGrouping
Enclosing class:
RaidRegistry

public static class RaidRegistry.RaidBiomeGrouping extends Object
  • Constructor Details

    • RaidBiomeGrouping

      public RaidBiomeGrouping(String biome)
  • Method Details

    • getBiome

      public String getBiome()
      Gets the biome name this group is for.
      Returns:
      Biome name.
    • getRaids

      public RaidRegistry.RaidStarGrouping getRaids()
      Gets the raid star grouping for this group.
      Returns:
      Raid star grouping.
    • getWeights

      public List<Integer> getWeights()
      Gets the star weights for this group of raids.
      Returns:
      Star weights.
    • setWeightsIfUnset

      public void setWeightsIfUnset(Supplier<List<Integer>> weights)
      Sets the star weights of this group of raids if they haven't been set yet.
      Parameters:
      weights - Supplier of weights to attempt to set to.