Class RaidRegistry.RaidStarGrouping

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

public static class RaidRegistry.RaidStarGrouping extends Object
  • Constructor Details

    • RaidStarGrouping

      public RaidStarGrouping()
  • Method Details

    • getGroupings

      public Map<Integer,List<RaidRegistry.Raid>> getGroupings()
      Gets the inner map of stars to raids.
      Returns:
      Map of stars to raids.
    • getGroup

      public List<RaidRegistry.Raid> getGroup(int stars)
      Safely gets the raids of a given star level.
      Parameters:
      stars - Star level to get the raids of.
      Returns:
      List of raids.
    • addRaid

      public void addRaid(int stars, int species, String form)
      Adds a new raid to this group.
      Parameters:
      stars - Star level of the new raid.
      species - Dex number of the new raid.
      form - Form name of the new raid.
    • addRaid

      public void addRaid(int stars, RaidRegistry.Raid raid)
      Adds a new raid to this group.
      Parameters:
      stars - Star level of the new raid.
      raid - The new raid.
    • addRaids

      public void addRaids(int stars, Collection<RaidRegistry.Raid> raids)
      Adds a collection of raids to this group.
      Parameters:
      stars - Star level of the new raid.
      raids - The new raids.