Difference between revisions of "Raid JSON"
(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 | + | <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 | + | 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). |
− | == | + | ==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 <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> | ||
− | + | ===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"> | ||
− | + | { | |
− | + | "badlands": { | |
− | + | "biomes": [ | |
− | + | "minecraft:badlands", | |
− | + | "minecraft:badlands_plateau", | |
− | + | "minecraft:wooded_badlands_plateau", | |
− | + | "minecraft:eroded_badlands", | |
− | + | "minecraft:modified_badlands_plateau", | |
− | + | "minecraft:modified_wooded_badlands_plateau", | |
− | + | "byg:red_rock_mountains", | |
− | + | "byg:red_rock_lowlands", | |
− | + | "byg:red_rock_highlands", | |
− | + | "byg:wooded_red_rock_mountains", | |
− | + | "terraforged:bryce" | |
− | + | ], | |
− | + | "species": [ | |
− | + | "1,2-Diglett", | |
− | + | "3,4-Dugtrio", | |
− | + | "1,2-Geodude", | |
− | + | "3,4-Graveler", | |
− | + | "4,5-Golem", | |
− | + | "1-Roggenrola", | |
− | + | "2,3-Boldore", | |
− | + | "4,5-Gigalith", | |
− | + | "2,3-Aron", | |
− | + | "3,4-Lairon", | |
− | + | "5-Aggron", | |
− | + | "3,4-Heatmor", | |
− | + | "2,3-Maractus", | |
− | + | "1,2-Beldum", | |
− | + | "3,4-Metang", | |
− | + | "5-Metagross", | |
− | + | "2,3-Nosepass", | |
− | + | "4,5-Probopass", | |
− | + | "1,2,3-Numel", | |
− | + | "4,5-Camerupt", | |
− | + | "2,3-Rhyhorn", | |
− | + | "3,4-Rhydon", | |
− | + | "5-Rhyperior", | |
− | + | "3,4-Torkoal", | |
− | + | "1,2,3-Smeargle", | |
− | + | "4,5-Flareon", | |
− | + | "3,4-Onix", | |
− | + | "4,5-Steelix", | |
− | + | "3,4-Vullaby", | |
− | + | "4,5-Mandibuzz", | |
− | + | "1,2-Cubone", | |
− | + | "3,4-Marowak", | |
− | + | "3,4-Marowak-alolan", | |
− | + | "1,2,3-Skorupi", | |
− | + | "4,5-Drapion", | |
− | + | "3,4-Durant", | |
− | + | "2,3-Cacnea", | |
− | + | "4,5-Cacturne", | |
− | + | "1,2-Houndour", | |
− | + | "3,4,5-Houndoom", | |
− | + | "1,2-Larvitar", | |
− | + | "3,4-Pupitar", | |
− | + | "5-Tyranitar", | |
− | + | "1,2-Sandshrew", | |
− | + | "3,4-Sandslash", | |
− | + | "1,2,3-Scraggy", | |
− | + | "4,5-Scrafty", | |
− | + | "2,3-Slugma", | |
− | + | "4,5-Magcargo", | |
− | + | "1,2-Bagon", | |
− | + | "3,4-Shelgon", | |
− | + | "5-Salamence", | |
− | + | "2,3-Salandit", | |
− | + | "4,5-Salazzle", | |
− | + | "1,2-Rolycoly", | |
− | + | "2,3-Carkol", | |
− | + | "4,5-Coalossal", | |
− | + | "5-Guzzlord", | |
− | + | "2,3-Sizzlipede", | |
− | + | "4,5-Centiskorch", | |
− | + | "2,3-Silicobra", | |
− | + | "4,5-Sandaconda", | |
− | + | "1,2-Charmander", | |
− | + | "2,3-Charmeleon", | |
− | + | "4,5-Charizard", | |
− | + | "1,2-Diglett-alolan", | |
− | + | "3,4-Dugtrio-alolan", | |
− | + | "1,2,3-Yamask-galarian", | |
− | + | "4,5-Runerigus", | |
− | + | "2,3-Bronzor", | |
− | + | "4,5-Bronzong", | |
− | + | "3,4-Sigilyph", | |
− | + | "2,3-Duskull", | |
− | + | "3,4-Dusclops", | |
− | + | "5-Dusknoir", | |
− | + | "3,4-Lunatone", | |
− | + | "3,4-Solrock", | |
− | + | "1,2-Natu", | |
− | + | "3,4,5-Xatu", | |
− | + | "5-Moltres", | |
− | + | "5-Moltres-galarian", | |
− | + | "5-Hooh", | |
− | + | "5-Regirock", | |
− | + | "5-Heatran", | |
− | + | "5-Landorus", | |
− | + | "5-Landorus-therian", | |
− | + | "2,3-Tyrunt", | |
− | + | "4,5-Tyrantrum", | |
− | + | "3,4-Skarmory", | |
− | + | "1,2-Spearow", | |
− | + | "3,4-Fearow", | |
− | + | "3,4-Falinks", | |
− | + | "1,2-Cyndaquil", | |
− | + | "2,3-Quilava", | |
− | + | "4,5-Typhlosion", | |
− | + | "4,5-Typhlosion-hisuian" | |
− | + | ] | |
− | + | }, | |
− | + | "beaches": { | |
− | + | "biomes": [ | |
− | + | "minecraft:beach", | |
− | + | "minecraft:mushroom_field_shore", | |
− | + | "biomesoplenty:tropic_beach", | |
− | + | "byg:rainbow_beach", | |
− | + | "byg:white_beach", | |
− | + | "terraforged:warm_beach" | |
− | + | ], | |
− | + | "species": [ | |
− | + | "1,2-Krabby", | |
− | + | "3,4,5-Kingler", | |
− | + | "2,3-Pyukumuku", | |
− | + | "1,2-Wimpod", | |
− | + | "3,4,5-Golisopod", | |
− | + | "1,2-Wingull", | |
− | + | "3,4-Pelipper", | |
− | + | "2,3-Finneon", | |
− | + | "3,4-Lumineon", | |
− | + | "1,2-Magikarp", | |
− | + | "3,4,5-Gyarados", | |
− | + | "2,3-Corsola", | |
− | + | "2,3-Corsola-galarian", | |
− | + | "4,5-Cursola", | |
− | + | "2,3-Binacle", | |
− | + | "4,5-Barbaracle", | |
− | + | "2,3-Clauncher", | |
− | + | "4,5-Clawitzer", | |
− | + | "1-Azurill", | |
− | + | "1,2-Marill", | |
− | + | "3,4-Azumarill", | |
− | + | "2,3-Slowpoke", | |
− | + | "4,5-Slowbro", | |
− | + | "4,5-Slowking", | |
− | + | "2,3-Slowpoke-galarian", | |
− | + | "4,5-Slowbro-galarian", | |
− | + | "4,5-Slowking-galarian", | |
− | + | "1,2-Shellder", | |
− | + | "4,5-Cloyster", | |
− | + | "1,2-Staryu", | |
− | + | "3,4-Starmie", | |
− | + | "1,2,3-Shellos", | |
− | + | "4,5-Gastrodon", | |
− | + | "2,3-Sandygast", | |
− | + | "4,5-Palossand", | |
− | + | "2,3-Cramorant", | |
− | + | "3,4-Pincurchin", | |
− | + | "2,3-Wishiwashi", | |
− | + | "5-Suicune", | |
− | + | "2,3-Tynamo", | |
− | + | "3,4-Eelektrik", | |
− | + | "5-Eelektross", | |
− | + | "1,2-Luvdisc", | |
− | + | "1,2-Remoraid", | |
− | + | "3,4-Octillery", | |
− | + | "1,2,3-Corphish", | |
− | + | "4,5-Crawdaunt", | |
− | + | "3,4-Bruxish", | |
− | + | "1,2-Squirtle", | |
− | + | "2,3-Wartortle", | |
− | + | "4,5-Blastoise", | |
− | + | "1,2,3-Wailmer", | |
− | + | "4,5-Wailord", | |
− | + | "2,3-Anorith", | |
− | + | "4,5-Armaldo", | |
− | + | "2,3-Tirtouga", | |
− | + | "4,5-Carracosta", | |
− | + | "3,4-Vaporeon", | |
− | + | "1,2,3-Clobbopus", | |
− | + | "4,5-Grapploct", | |
− | + | "1,2-Popplio", | |
− | + | "2,3-Brionne", | |
− | + | "4,5-Primarina", | |
− | + | "1,2,3-Mareanie", | |
− | + | "4,5-Toxapex", | |
− | + | "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).
Contents
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:
- Create a
raids
folder - Copy over the original
raids.json
file. - Modify the data as you so desire.
Troubleshooting
- JSON Validation (Making sure commas are used properly)