Class RaidRegistry
java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RaidRegistry
Register raid spawns from JSON files.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<RaidRegistry.RaidCollection>
Gets the list of all raids.getBiomeStarWeights
(String biome) Gets the raid star weights for a given biome.static Map<String,
RaidRegistry.RaidBiomeGrouping> Gets the biome to raid map.static void
registerRaidSpawns
(com.google.gson.JsonObject json) Registers raid spawns.static void
remap()
-
Method Details
-
getAllRaids
Gets the list of all raids.- Returns:
- All registered raids.
-
getBiomeToRaids
Gets the biome to raid map.- Returns:
- Biome to raid map.
-
getBiomeStarWeights
Gets the raid star weights for a given biome.- Parameters:
biome
- The biome to get the star weights for.- Returns:
- The star weights for the given biome.
-
registerRaidSpawns
public static void registerRaidSpawns(com.google.gson.JsonObject json) Registers raid spawns.- Parameters:
json
- The JSON object containing raid spawn data.
-
remap
public static void remap()
-