Class RaidRegistry

java.lang.Object
com.pixelmonmod.pixelmon.init.registry.RaidRegistry

public class RaidRegistry extends Object
Register raid spawns from JSON files.
  • Method Details

    • getAllRaids

      public static List<RaidRegistry.RaidCollection> getAllRaids()
      Gets the list of all raids.
      Returns:
      All registered raids.
    • getBiomeToRaids

      public static Map<String,RaidRegistry.RaidBiomeGrouping> getBiomeToRaids()
      Gets the biome to raid map.
      Returns:
      Biome to raid map.
    • getBiomeStarWeights

      public static List<Integer> getBiomeStarWeights(String biome)
      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()