Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "Raid JSON"

From Pixelmon Wiki
(Created page with "<seo title="Raid JSONs" metakeywords="Pixelmon Reforged external JSONs spawns drops moves rules NPCs stats structures shops shopkeepers" metadescription="A guide explaining ho...")
 
(Big overhaul of raids.json Datapack Section)
Line 1: Line 1:
<seo title="Raid JSONs" metakeywords="Pixelmon Reforged external JSONs spawns drops moves rules NPCs stats structures shops shopkeepers" metadescription="A guide explaining how to configure Pixelmon's raid file."/>
+
<seo title="Raid JSONs" metakeywords="Pixelmon Reforged JSONs Datapacks spawns drops moves rules NPCs stats structures shops shopkeepers" metadescription="A guide explaining how to configure Pixelmon's raid file."/>
Different aspects of the ''Pixelmon'' mod can be tweaked through different types of [[external JSON files]]. This page covers the Raid file, which defines what Pokémon can spawn in [[Raid Den|Raid Dens]] in which biome and at what Star level(s).
+
Different aspects of the Pixelmon mod can be tweaked through different types of JSON files via a [[Datapack]]. This page covers the raids.json file, which defines what Pokémon can spawn in [[Raid Den|Raid Dens]] in which biome and at what Star level(s).
  
===raids.json===
+
==Understanding the JSON Data==
This JSON file contains 17 main biome categories: <code>Aquatic</code>, <code>Deserts</code>, <code>End</code>, <code>Evil</code>, <code>Flowery</code>, <code>Forests</code>, <code>Freezing</code>, <code>Jungles</code>, <code>Mesas</code>, <code>Mountainous</code>, <code>Nether</code>, <code>Plains</code>, <code>Roofed Forests</code>, <code>Savannas</code>, <code>Swamps</code>, <code>Taigas</code> and <code>Ultra Space</code>.
+
While the JSON file may have a lot of lines within it, it is done in a way where the Biomes and Species of pokemon are grouped together under what could be called Raid Groups or Biome Categories. The file contains biomes from <code>Vanilla</code>, <code>BiomesOPlenty</code>, <code>byg</code>, and <code>terraforged</code>.
  
 +
'''Note:''' Adding additional biomes or using biomes that may or may not be compatible with the pixelmon mod may result in the mod not working as intended.
 +
 +
Here you can see a more visual representation of what the code structure looks like without the data.
 +
<pre>{
 +
    "group": {
 +
        "biomes": [],
 +
        "species": []
 +
    }
 +
}</pre>
 +
 +
 +
===Biome Categories===
 +
This JSON file is grouped into 43 Biome Categories:
 +
<code>Badlands</code>, <code>Beaches</code>, <code>Birches</code>, <code>Burntforest</code>, <code>coldocean</code>, <code>Coralmangroves</code>, <code>Graggardens</code>, <code>Deadsea</code>, <code>Deserts</code>, <code>End</code>, <code>Evil</code>, <code>Flowery</code>, <code>Forests</code>, <code>Freezingbeaches</code>, <code>Freezingforests</code>, <code>Freezingmountains</code>, <code>Freezingocean</code>, <code>Freezingplains</code>, <code>Freshwater</code>, <code>Frozenwater</code>, <code>hills</code>, <code>jungles</code>, <code>lukewarmocean</code>, <code>magical</code>, <code>mountainousforests</code>, <code>mountainous</code>, <code>mushroom</code>, <code>nether</code>, <code>ocean</code>, <code>otherfreezing</code>, <code>plains</code>, <code>pollutedlake</code>, <code>redwoods</code>, <code>roofed</code>, <code>savannas</code>, <code>shatteredglacier</code>, <code>Stonybeaches</code>, <code>Subzerohypogeal</code>, <code>Swamps</code>, <code>Taigas</code>, <code>Tundra</code>, <code>Ultradeepsea</code>, <code>Volcano</code>, <code>Warmocean</code>
 +
 +
'''NOTE:''' The Biome Categories are not fixed names and can be changed as needed, they primarily group the actual biomes and species defined below.
 +
 +
===Biomes===
 
Each biome category contains two arrays: <code>biomes</code> and <code>species</code>.
 
Each biome category contains two arrays: <code>biomes</code> and <code>species</code>.
 +
* <code>biomes</code> - A list of biome ids where Pokémon can spawn in a [[Raid Den|raid den]].
 +
<pre>
 +
        "biomes": [
 +
            "minecraft:plains",
 +
            "byg:red_rock_mountains"     
 +
        ]
 +
</pre>
  
* <code>biomes</code> - A list of biome ids where Pokémon can spawn in a [[Raid Den|raid den]].
+
===Species===
 
* <code>species</code> - A list of Pokémon that can spawn in a [[Raid Den|raid den]]. The numbers behind the Pokémon name represent the star level(s) the Pokémon will spawn at. The general format is: <code>"#,#,#,#,#-Pokemon"</code>.  
 
* <code>species</code> - A list of Pokémon that can spawn in a [[Raid Den|raid den]]. The numbers behind the Pokémon name represent the star level(s) the Pokémon will spawn at. The general format is: <code>"#,#,#,#,#-Pokemon"</code>.  
 
<code>#</code> can be 1-5 (star level) and there can be multiple star levels per Pokémon, up to a maximum of 5 if all 5 star levels are included. They must be separated by a comma. The last star level number has a <code>-</code> dash symbol after it followed by the Pokémon's name.
 
<code>#</code> can be 1-5 (star level) and there can be multiple star levels per Pokémon, up to a maximum of 5 if all 5 star levels are included. They must be separated by a comma. The last star level number has a <code>-</code> dash symbol after it followed by the Pokémon's name.
 +
 +
Below is an example of the different variations of raid levels as mentioned above.
 +
<pre>
 +
        "species": [
 +
            "4-Pikachu",
 +
            "1,2-Diglett",
 +
            "3,4,5-Dugtrio",
 +
            "1,3,4,5-Ditto",
 +
            "1,2,3,4,5-Cyndaquil"
 +
        ]
 +
</pre>
 +
 +
 +
==Creating a Data pack==
 +
Following the steps from the [[Datapack]] section, all you have to do is to:
 +
# Create a <code>raids</code> folder
 +
# Copy over the original <code>raids.json</code> file.
 +
# Modify the data as you so desire.
 +
 +
=== Troubleshooting ===
 +
# JSON Validation (Making sure commas are used properly)
  
 
===Default Raids JSON===
 
===Default Raids JSON===
 
<spoiler text="Show/Hide">
 
<spoiler text="Show/Hide">
{
+
{
    "aquatic": {
+
  "badlands": {
        "biomes": [
+
    "biomes": [
            "River",
+
      "minecraft:badlands",
            "Ocean",
+
      "minecraft:badlands_plateau",
            "Deep Ocean",
+
      "minecraft:wooded_badlands_plateau",
            "coral_reef",
+
      "minecraft:eroded_badlands",
            "kelp_forest",
+
      "minecraft:modified_badlands_plateau",
            "Beach",
+
      "minecraft:modified_wooded_badlands_plateau",
            "Stone Beach",
+
      "byg:red_rock_mountains",
            "white_beach",
+
      "byg:red_rock_lowlands",
            "gravel_beach",
+
      "byg:red_rock_highlands",
            "rw_bombona_beach",
+
      "byg:wooded_red_rock_mountains",
            "origin_beach",
+
      "terraforged:bryce"
            "MushroomIsland",
+
    ],
            "MushroomIslandShore",
+
    "species": [
            "ultra_water"
+
      "1,2-Diglett",
        ],
+
      "3,4-Dugtrio",
        "species": [
+
      "1,2-Geodude",
            "1,2-Squirtle",
+
      "3,4-Graveler",
            "2,3-Wartortle",
+
      "4,5-Golem",
            "4,5-Blastoise",
+
      "1-Roggenrola",
            "1,2-Psyduck",
+
      "2,3-Boldore",
            "3,4-Golduck",
+
      "4,5-Gigalith",
            "1,2-Poliwag",
+
      "2,3-Aron",
            "2,3-Poliwhirl",
+
      "3,4-Lairon",
            "4,5-Poliwrath",
+
      "5-Aggron",
            "1,2-Tentacool",
+
      "3,4-Heatmor",
            "3,4-Tentacruel",
+
      "2,3-Maractus",
            "2,3-Slowpoke-normal",
+
      "1,2-Beldum",
            "2,3-Slowpoke-galar",
+
      "3,4-Metang",
            "3,4-Slowbro-normal",
+
      "5-Metagross",
            "3,4-Slowbro-galar",
+
      "2,3-Nosepass",
            "1,2-Shellder",
+
      "4,5-Probopass",
            "4,5-Cloyster",
+
      "1,2,3-Numel",
            "1,2-Krabby",
+
      "4,5-Camerupt",
            "3,4,5-Kingler",
+
      "2,3-Rhyhorn",
            "1,2-Horsea",
+
      "3,4-Rhydon",
            "3,4-Seadra",
+
      "5-Rhyperior",
            "1,2-Goldeen",
+
      "3,4-Torkoal",
            "3,4-Seaking",
+
      "1,2,3-Smeargle",
            "1,2-Staryu",
+
      "4,5-Flareon",
            "3,4-Starmie",
+
      "3,4-Onix",
            "1,2-Magikarp",
+
      "4,5-Steelix",
            "3,4,5-Gyarados",
+
      "3,4-Vullaby",
            "3,4-Vaporeon",
+
      "4,5-Mandibuzz",
            "2-Dratini",
+
      "1,2-Cubone",
            "3,4-Dragonair",
+
      "3,4-Marowak",
            "5-Dragonite",
+
      "3,4-Marowak-alolan",
            "1,2-Totodile",
+
      "1,2,3-Skorupi",
            "2,3-Croconaw",
+
      "4,5-Drapion",
            "4,5-Feraligatr",
+
      "3,4-Durant",
            "1,2-Chinchou",
+
      "2,3-Cacnea",
            "3,4-Lanturn",
+
      "4,5-Cacturne",
            "1,2-Marill",
+
      "1,2-Houndour",
            "3,4-Azumarill",
+
      "3,4,5-Houndoom",
            "4,5-Politoed",
+
      "1,2-Larvitar",
            "1,2-Wooper",
+
      "3,4-Pupitar",
            "3,4,5-Quagsire",
+
      "5-Tyranitar",
            "4,5-Slowking-normal",
+
      "1,2-Sandshrew",
            "4,5-Slowking-galar",
+
      "3,4-Sandslash",
            "2,3-Corsola-normal",
+
      "1,2,3-Scraggy",
            "2,3-Corsola-galar",
+
      "4,5-Scrafty",
            "1,2-Remoraid",
+
      "2,3-Slugma",
            "3,4-Octillery",
+
      "4,5-Magcargo",
            "2,3,4-Mantine",
+
      "1,2-Bagon",
            "5-Kingdra",
+
      "3,4-Shelgon",
            "5-Suicune",
+
      "5-Salamence",
            "5-Lugia",
+
      "2,3-Salandit",
            "1,2-Wingull",
+
      "4,5-Salazzle",
            "3,4-Pelipper",
+
      "1,2-Rolycoly",
            "1,2-Surskit",
+
      "2,3-Carkol",
            "3,4-Masquerain",
+
      "4,5-Coalossal",
            "1-Azurill",
+
      "5-Guzzlord",
            "1,2-Carvanha",
+
      "2,3-Sizzlipede",
            "3,4-Sharpedo",
+
      "4,5-Centiskorch",
            "1,2,3-Wailmer",
+
      "2,3-Silicobra",
            "4,5-Wailord",
+
      "4,5-Sandaconda",
            "1,2,3-Barboach",
+
      "1,2-Charmander",
            "3,4-Whiscash",
+
      "2,3-Charmeleon",
            "1,2,3-Corphish",
+
      "4,5-Charizard",
            "4,5-Crawdaunt",
+
      "1,2-Diglett-alolan",
            "1,2-Feebas",
+
      "3,4-Dugtrio-alolan",
            "3,4,5-Milotic",
+
      "1,2,3-Yamask-galarian",
            "2,3-Clamperl",
+
      "4,5-Runerigus",
            "4,5-Huntail",
+
      "2,3-Bronzor",
            "4,5-Gorebyss",
+
      "4,5-Bronzong",
            "3-Relicanth",
+
      "3,4-Sigilyph",
            "1,2-Luvdisc",
+
      "2,3-Duskull",
            "5-Latias",
+
      "3,4-Dusclops",
            "5-Latios",
+
      "5-Dusknoir",
            "5-Kyogre",
+
      "3,4-Lunatone",
            "1-Bidoof",
+
      "3,4-Solrock",
            "2,3-Bibarel",
+
      "1,2-Natu",
            "1,2-Buizel",
+
      "3,4,5-Xatu",
            "3,4-Floatzel",
+
      "5-Moltres",
            "1,2,3-Shellos",
+
      "5-Moltres-galarian",
            "4,5-Gastrodon",
+
      "5-Hooh",
            "2,3-Finneon",
+
      "5-Regirock",
            "3,4-Lumineon",
+
      "5-Heatran",
            "1,2-Mantyke",
+
      "5-Landorus",
            "5-Manaphy",
+
      "5-Landorus-therian",
            "5-Phione",
+
      "2,3-Tyrunt",
            "1,2-Oshawott",
+
      "4,5-Tyrantrum",
            "2,3-Dewott",
+
      "3,4-Skarmory",
            "4,5-Samurott",
+
      "1,2-Spearow",
            "2,3-Basculin",
+
      "3,4-Fearow",
            "2,3-Ducklett",
+
      "3,4-Falinks",
            "3,4-Swanna",
+
      "1,2-Cyndaquil",
            "2,3,4-Frillish",
+
      "2,3-Quilava",
            "4,5-Jellicent",
+
      "4,5-Typhlosion",
            "2,3-Alomomola",
+
      "4,5-Typhlosion-hisuian"
            "2,3-Tynamo",
+
    ]
            "3,4-Eelektrik",
+
  },
            "5-Eelektross",
+
  "beaches": {
            "5-Keldeo",
+
    "biomes": [
            "2,3-Binacle",
+
      "minecraft:beach",
            "4,5-Barbaracle",
+
      "minecraft:mushroom_field_shore",
            "3,4-Skrelp",
+
      "biomesoplenty:tropic_beach",
            "4,5-Dragalge",
+
      "byg:rainbow_beach",
            "2,3-Clauncher",
+
      "byg:white_beach",
            "4,5-Clawitzer",
+
      "terraforged:warm_beach"
            "1,2-Popplio",
+
    ],
            "2,3-Brionne",
+
    "species": [
            "4,5-Primarina",
+
      "1,2-Krabby",
            "1,2,3-Crabrawler",
+
      "3,4,5-Kingler",
            "3,4-Crabominable",
+
      "2,3-Pyukumuku",
            "2,3-Wishiwashi",
+
      "1,2-Wimpod",
            "1,2,3-Mareanie",
+
      "3,4,5-Golisopod",
            "4,5-Toxapex",
+
      "1,2-Wingull",
            "1,2-Dewpider",
+
      "3,4-Pelipper",
            "2,3,4-Araquanid",
+
      "2,3-Finneon",
            "2,3-Sandygast",
+
      "3,4-Lumineon",
            "4,5-Palossand",
+
      "1,2-Magikarp",
            "2,3-Pyukumuku",
+
      "3,4,5-Gyarados",
            "3,4-Bruxish",
+
      "2,3-Corsola",
            "2,3,4-Dhelmise",
+
      "2,3-Corsola-galarian",
            "1,2-Sobble",
+
      "4,5-Cursola",
            "2,3-Drizzile",
+
      "2,3-Binacle",
            "4,5-Inteleon",
+
      "4,5-Barbaracle",
            "1,2-Chewtle",
+
      "2,3-Clauncher",
            "3,4,5-Drednaw",
+
      "4,5-Clawitzer",
            "2,3-Cramorant",
+
      "1-Azurill",
            "1,2-Arrokuda",
+
      "1,2-Marill",
            "3,4-Barraskewda",
+
      "3,4-Azumarill",
            "1,2-Clobbopus",
+
      "2,3-Slowpoke",
            "3,4-Grapploct",
+
      "4,5-Slowbro",
            "4,5-Cursola",
+
      "4,5-Slowking",
            "3,4-Pincurchin",
+
      "2,3-Slowpoke-galarian",
            "1,2,3-Dwebble",
+
      "4,5-Slowbro-galarian",
            "3,4-Crustle",
+
      "4,5-Slowking-galarian",
            "1,2-Wimpod",
+
      "1,2-Shellder",
            "3,4,5-Golisopod",
+
      "4,5-Cloyster",
            "1,2,3,4-Shuckle",
+
      "1,2-Staryu",
            "4,5-Raichu-alola",
+
      "3,4-Starmie",
            "3,4,5-Lapras",
+
      "1,2,3-Shellos",
            "4-Drampa",
+
      "4,5-Gastrodon",
            "1,2,3-Qwilfish",
+
      "2,3-Sandygast",
            "2,3-Anorith",
+
      "4,5-Palossand",
            "4,5-Armaldo",
+
      "2,3-Cramorant",
            "2,3-Tirtouga",
+
      "3,4-Pincurchin",
            "4,5-Carracosta",
+
      "2,3-Wishiwashi",
            "2,3-Lileep",
+
      "5-Suicune",
            "4,5-Cradily",
+
      "2,3-Tynamo",
            "3,4,5-Ditto",
+
      "3,4-Eelektrik",
            "5-Nihilego",
+
      "5-Eelektross",
            "4,5-Dracovish",
+
      "1,2-Luvdisc",
            "4,5-Arctovish"
+
      "1,2-Remoraid",
        ]
+
      "3,4-Octillery",
    },
+
      "1,2,3-Corphish",
    "deserts": {
+
      "4,5-Crawdaunt",
        "biomes": [
+
      "3,4-Bruxish",
            "Desert",
+
      "1,2-Squirtle",
            "DesertHills",
+
      "2,3-Wartortle",
            "Desert M",
+
      "4,5-Blastoise",
            "oasis",
+
      "1,2,3-Wailmer",
            "shrubland",
+
      "4,5-Wailord",
            "lush_desert",
+
      "2,3-Anorith",
            "red_desert",
+
      "4,5-Armaldo",
            "mountainous_desert",
+
      "2,3-Tirtouga",
            "desert_shrubland",
+
      "4,5-Carracosta",
            "canyon",
+
      "3,4-Vaporeon",
            "ultra_desert"
+
      "1,2,3-Clobbopus",
        ],
+
      "4,5-Grapploct",
        "species": [
+
      "1,2-Popplio",
            "1,2-Diglett-normal",
+
      "2,3-Brionne",
            "3,4-Dugtrio-normal",
+
      "4,5-Primarina",
            "1,2-Diglett-alola",
+
      "1,2,3-Mareanie",
            "3,4-Dugtrio-alola",
+
      "4,5-Toxapex",
            "1,2-Geodude
+
      "1,2,3-Crabrawler",
 +
      "3,4-Crabominable",
 +
      "3,4,5-Ditto"
 +
    ]
 +
  },
 +
  "birches": {
 +
    "biomes": [
 +
      "minecraft:birch_forest",
 +
      "minecraft:birch_forest_hills",
 +
      "minecraft:tall_birch_forest",
 +
      "minecraft:tall_birch_hills",
 +
      "byg:aspen_forest",
 +
      "byg:aspen_forest_hills",
 +
      "byg:aspen_clearing",
 +
      "byg:seasonal_birch_forest",
 +
      "byg:seasonal_birch_forest_hills"
 +
    ],
 +
    "species": [
 +
      "1-Caterpie",
 +
      "2,3-Metapod",
 +
      "3,4,5-Butterfree",
 +
      "1-Scatterbug",
 +
      "2,3-Spewpa",
 +
      "3,4-Vivillon-garden",
 +
      "1-Wurmple",
 +
      "2,3-Silcoon",
 +
      "4,5-Beautifly",
 +
      "2,3-Cascoon",
 +
      "4,5-Dustox",
 +
      "2,3-Deerling-spring",
 +
      "4,5-Sawsbuck-spring",
 +
      "1-Kricketot",
 +
      "2,3-Kricketune",
 +
      "1,2,3-Morelull",
 +
      "4,5-Shiinotic",
 +
      "2,3-Plusle",
 +
      "2,3-Minun",
 +
      "1,2-Ralts",
 +
      "2,3-Kirlia",
 +
      "4,5-Gardevoir",
 +
      "4,5-Gallade",
 +
      "2,3-Spritzee",
 +
      "4,5-Aromatisse",
 +
      "2,3-Swirlix",
 +
      "4,5-Slurpuff",
 +
      "4,5-Leafeon",
 +
      "1,2-Bulbasaur",
 +
      "2,3-Ivysaur",
 +
      "4,5-Venusaur",
 +
      "1,2-Ledyba",
 +
      "3,4-Ledian",
 +
      "1,2-Skwovet",
 +
      "3,4-Greedent",
 +
      "1,2-Bounsweet",
 +
      "2,3-Steenee",
 +
      "4,5-Tsareena",
 +
      "1,2-Cherubi",
 +
      "3,4-Cherrim",
 +
      "3,4-Furfrou",
 +
      "1,2-Milcery",
 +
      "3,4,5-Alcremie",
 +
      "3,4-Audino",
 +
      "1,2,3-Eevee",
 +
      "1,2-Pichu",
 +
      "2,3,4-Pikachu",
 +
      "4,5-Raichu",
 +
      "1,2-Chespin",
 +
      "2,3-Quilladin",
 +
      "4,5-Chesnaught",
 +
      "1,2-Fletchling",
 +
      "3,4-Fletchinder",
 +
      "4,5-Talonflame",
 +
      "2,3-Oricorio-pompom",
 +
      "1,2-Taillow",
 +
      "3,4-Swellow",
 +
      "2,3-Swablu",
 +
      "4,5-Altaria",
 +
      "1-Weedle",
 +
      "2,3-Kakuna",
 +
      "4,5-Beedrill",
 +
      "1,2-Espurr",
 +
      "3,4-Meowstic",
 +
      "2,3-Foongus",
 +
      "4,5-Amoonguss",
 +
      "1,2-Poochyena",
 +
      "3,4-Mightyena",
 +
      "1,2-Spinarak",
 +
      "3,4-Ariados",
 +
      "1,2-Skitty",
 +
      "3,4-Delcatty",
 +
      "3,4-Indeedee",
 +
      "1-MimeJr",
 +
      "2,3,4-MrMime",
 +
      "1,2-Zubat",
 +
      "3,4-Golbat",
 +
      "5-Crobat",
 +
      "1,2-Hoothoot",
 +
      "3,4-Noctowl",
 +
      "1,2,3-Murkrow",
 +
      "4,5-Honchkrow",
 +
      "1,2-Minccino",
 +
      "3,4-Cinccino",
 +
      "2,3-Tyrunt",
 +
      "4,5-Tyrantrum",
 +
      "2,3-Archen",
 +
      "4,5-Archeops",
 +
      "3,4,5-Ditto",
 +
      "1,2,3-Teddiursa",
 +
      "4,5-Ursaring",
 +
      "5-Xurkitree",
 +
      "5-Mesprit",
 +
      "5-Cresselia",
 +
      "5-Zacian",
 +
      "5-Zamazenta"
 +
    ]
 +
  },
 +
  "burntforest": {
 +
    "biomes": [
 +
      "biomesoplenty:burnt_forest"
 +
    ],
 +
    "species": [
 +
      "1,2-Growlithe",
 +
      "3,4-Arcanine",
 +
      "2,3-Sizzlipede",
 +
      "4,5-Centiskorch",
 +
      "1-Rookidee",
 +
      "2,3-Corvisquire",
 +
      "4,5-Corviknight",
 +
      "1,2-Cyndaquil",
 +
      "2,3-Quilava",
 +
      "4,5-Typhlosion",
 +
      "4,5-Typhlosion-hisuian",
 +
      "2,3-Stunky",
 +
      "4,5-Skuntank",
 +
      "2,3-Duskull",
 +
      "3,4-Dusclops",
 +
      "5-Dusknoir",
 +
      "1,2-Spearow",
 +
      "3,4-Fearow",
 +
      "1,2,3-Koffing",
 +
      "4,5-Weezing",
 +
      "1,2-Nickit",
 +
      "3,4-Thievul",
 +
      "1,2,3-Vulpix",
 +
      "4,5-Ninetales",
 +
      "2,3-Phantump",
 +
      "4,5-Trevenant"
 
</spoiler>
 
</spoiler>

Revision as of 13:46, 27 April 2023

Different aspects of the Pixelmon mod can be tweaked through different types of JSON files via a Datapack. This page covers the raids.json file, which defines what Pokémon can spawn in Raid Dens in which biome and at what Star level(s).

Understanding the JSON Data

While the JSON file may have a lot of lines within it, it is done in a way where the Biomes and Species of pokemon are grouped together under what could be called Raid Groups or Biome Categories. The file contains biomes from Vanilla, BiomesOPlenty, byg, and terraforged.

Note: Adding additional biomes or using biomes that may or may not be compatible with the pixelmon mod may result in the mod not working as intended.

Here you can see a more visual representation of what the code structure looks like without the data.

{
    "group": {
        "biomes": [],
        "species": []
    }
}


Biome Categories

This JSON file is grouped into 43 Biome Categories: Badlands, Beaches, Birches, Burntforest, coldocean, Coralmangroves, Graggardens, Deadsea, Deserts, End, Evil, Flowery, Forests, Freezingbeaches, Freezingforests, Freezingmountains, Freezingocean, Freezingplains, Freshwater, Frozenwater, hills, jungles, lukewarmocean, magical, mountainousforests, mountainous, mushroom, nether, ocean, otherfreezing, plains, pollutedlake, redwoods, roofed, savannas, shatteredglacier, Stonybeaches, Subzerohypogeal, Swamps, Taigas, Tundra, Ultradeepsea, Volcano, Warmocean

NOTE: The Biome Categories are not fixed names and can be changed as needed, they primarily group the actual biomes and species defined below.

Biomes

Each biome category contains two arrays: biomes and species.

  • biomes - A list of biome ids where Pokémon can spawn in a raid den.
        "biomes": [
             "minecraft:plains",
             "byg:red_rock_mountains"      
        ]

Species

  • species - A list of Pokémon that can spawn in a raid den. The numbers behind the Pokémon name represent the star level(s) the Pokémon will spawn at. The general format is: "#,#,#,#,#-Pokemon".

# can be 1-5 (star level) and there can be multiple star levels per Pokémon, up to a maximum of 5 if all 5 star levels are included. They must be separated by a comma. The last star level number has a - dash symbol after it followed by the Pokémon's name.

Below is an example of the different variations of raid levels as mentioned above.

        "species": [
             "4-Pikachu",
             "1,2-Diglett",
             "3,4,5-Dugtrio",
             "1,3,4,5-Ditto",
             "1,2,3,4,5-Cyndaquil"
        ]


Creating a Data pack

Following the steps from the Datapack section, all you have to do is to:

  1. Create a raids folder
  2. Copy over the original raids.json file.
  3. Modify the data as you so desire.

Troubleshooting

  1. JSON Validation (Making sure commas are used properly)

Default Raids JSON

Show/Hide

© 2012 - 2025 Pixelmon Mod