Here, take this! It’s a great place to start from. It doesn’t have anything in it yet, but it has a good folder structure to start with for following along with this documentation, as well as a starter pack.mcmeta so you don’t forget that.
cobbledcounter_starterpack.zip
In order to add a new Species Form Override that will override a given Pokémon with another species/form, create a new JSON file in the species_form_override directory of your addon.
In the example below, we’re targeting Blade-forme Aegislash and overriding it with Normal-forme Aegislash. This means that if you were to, say, capture a Blade-forme Aegislash and had a Normal-forme Aegislash Capture Streak before, your Capture Streak wouldn’t reset, and you’d gain a point towards Normal-forme Aegislash instead. This same logic is used to determine how many points a player has towards a given Pokémon, so if you ask how many points a player has towards a Blade-forme Aegislash, you’ll get the same answer as if you’d asked for Normal-forme Aegislash.
{
"matcher": {
"properties": "aegislash",
"forms": [
"Blade"
]
},
"species": "aegislash",
"form": "Normal"
}
matcherA PokemonMatcher to describe the incoming target for this Species Form Override. For most cases, you’ll probably want to follow the pattern here, giving the Pokémon’s species name in the properties property of the matcher, and a list of forms that you’d like to override.
speciesThe species to actually use if the matcher matches.
formThe form to actually use if the matcher matches.