Class RaidRegistry.RaidBiomeGrouping
java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RaidRegistry.RaidBiomeGrouping
- Enclosing class:
- RaidRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBiome()Gets the biome name this group is for.getRaids()Gets the raid star grouping for this group.Gets the star weights for this group of raids.voidsetWeightsIfUnset(Supplier<List<Integer>> weights) Sets the star weights of this group of raids if they haven't been set yet.
-
Constructor Details
-
RaidBiomeGrouping
-
-
Method Details
-
getBiome
Gets the biome name this group is for.- Returns:
- Biome name.
-
getRaids
Gets the raid star grouping for this group.- Returns:
- Raid star grouping.
-
getWeights
Gets the star weights for this group of raids.- Returns:
- Star weights.
-
setWeightsIfUnset
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.
-