Crappy code that builds pixelmon resource and data packs out of some horrific hard coded sound directories and a passed in pixelmon.jar
| field | explanation | example |
|---|---|---|
| source | The source pixelmon .jar that is being built for | "sources/Pixelmon-1.21.1-9.3.9-universal.jar" |
| version_number | The pixelmon version number, used primarily for naming | "1.21.1-9.3.9" |
| num_threads | Number of threads used to build the pack | 8 |
| resource_pack_mcmeta | The json object inside this will be used as the resource pack's mcmeta | See minecraft wiki since this is likely to change over time |
| data_pack_mcmeta | Same as above but for the datapack's mcmeta | See above |
| credits | String used will be the contents of the credits file | "Credit to my GOAT Wolfe Glick" |
| dumb_insert | Pokemon listed inside will have their sound data inserted in a dumb fashion, ignoring any forms. Useful for pokemon with multiple forms that aren't distinct pokemon like Aegislash (Sword + Shield), Burmy, Furfrou | ["bidoof", "darmanitan"] |
| skip_form_names_all | Skips trying to find sounds for this form for ALL pokemon | ["gmax", "alolan"] |
| skip_form_names | Skips these forms for specific pokemon | { "urshifu": ["gmaxrs", "gmaxss"] } |
| treat_as_base_all | Form names that are considered base forms for ALL pokemon, and thus in naming schemes are not looked for | ["base"] |
| treat_as_base | Form names that are treated as a pokemon's base form | { "zacian" : "hero" } |
| deep_copy | Especially for users with the resource pack but not the data pack, some pokemon have multiple sound files in pixelmon but only one cry in Pokemon. Alternately they may have mispellings or not meet the format of "{pokemon}-{form}" which the datapack expects such as "articuno-galar" instead of "articuno-galarian" or "carvahna" instead of "carvanha". At the final step of pack compilation this will copy the first sound to the second. This ensures that ALL unmapped sounds are replaced for non data-pack users at the cost of duplication of sound files. | [["axew", "axew2"], ["bulbasaur", "bulbasaurm"]] |
- Have a better mechanism for pokemon my dumb ass brain thought had unique cries that do not
- Subtitles
- Better error handling and logging
- Maybe switch over the sound source to being entirely from my assembled sounds instead of just the ones I pulled out of Pixelmon EX (Done, I just flipped the logic. Reasoning is that it turns out a lot of the sounds in expixel werent unique per form sounds (since they dont exist) but were just duplicates to overwrite original sounds from pixelmon)
- A lot of cleaning up lol
- Move some config values into being CLI args