Class RaidRegistry.RaidStarGrouping
java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RaidRegistry.RaidStarGrouping
- Enclosing class:
- RaidRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new raid to this group.voidaddRaid(int stars, RaidRegistry.Raid raid) Adds a new raid to this group.voidaddRaids(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.
-