Class RaidRegistry.RaidStarGrouping
java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RaidRegistry.RaidStarGrouping
- Enclosing class:
- RaidRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new raid to this group.void
addRaid
(int stars, RaidRegistry.Raid raid) Adds a new raid to this group.void
addRaids
(int stars, Collection<RaidRegistry.Raid> raids) Adds a collection of raids to this group.getGroup
(int stars) Safely gets the raids of a given star level.Gets the inner map of stars to raids.
-
Constructor Details
-
RaidStarGrouping
public RaidStarGrouping()
-
-
Method Details
-
getGroupings
Gets the inner map of stars to raids.- Returns:
- Map of stars to raids.
-
getGroup
Safely gets the raids of a given star level.- Parameters:
stars
- Star level to get the raids of.- Returns:
- List of raids.
-
addRaid
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
Adds a new raid to this group.- Parameters:
stars
- Star level of the new raid.raid
- The new raid.
-
addRaids
Adds a collection of raids to this group.- Parameters:
stars
- Star level of the new raid.raids
- The new raids.
-