PixelPebbles converts Cobblemon's Bedrock-format Pokémon models and
animations into skinned glb models that Pixelmon (NeoForge 1.21.1) can load with its
pixelmon:assimp renderer.
You end up with two packs:
PixelPebbles-resourcepack.zip: the converted models and their textures, under thepixelpebblesnamespace.PixelPebbles-datapack.zip: adds extra palettes,cobblemonandcobblemon_shiny, to each converted species (and to its forms; see In game). The stock palettes stay as they are, so the converted model sits next to the original:
/pokespawn Bulbasaur palette:cobblemon
/pokespawn Bulbasaur palette:cobblemon_shiny
- Python 3.10+ with numpy (only
make_datapack.pyruns without it). uv works well:uv run --with numpy python tools/... - git, to fetch Cobblemon
- your own copy of the Pixelmon mod jar, for the datapack step
Run everything from the repository folder. Every path has a default: the Cobblemon clone goes in ./cobblemon and
everything the tools write goes in ./out. Pass --help to any tool for its options.
-
Fetch Cobblemon. This makes a sparse, blob-filtered clone of only the folders the converter reads:
python tools/fetch_cobblemon.py -
Convert every model to
out/batch/<folder>/*.glb, plus asummary.jsonof what worked. Use--only 0001_bulbasaur,0025_pikachuto try a few first.uv run --with numpy python tools/batch.py -
Build the resource pack in
out/PixelPebbles-resourcepack.zip:uv run --with numpy --with pillow python tools/build_resourcepack.py -
Make the datapack from your own Pixelmon jar, or from a folder that contains
data/pixelmon/species:python tools/make_datapack.py --pixelmon path/to/Pixelmon-1.21.1-<version>.jarPixelPebbles does not include or ship any of Pixelmon's species data. That data belongs to Pixelmon, so this step runs on your machine, against your own install. It reads each species file from your jar, adds the palettes described below to the matching forms and genders, and writes the result into
out/PixelPebbles-datapack.zip. Run it again whenever you update Pixelmon or rebuild the resource pack. Please don't share the generated datapack.Already using datapacks that change species files? A datapack replaces a species file whole, so normally only one pack's version of, say,
001_bulbasaur.jsonwins. Instead, give--pixelmonagain for each of those datapacks (zip or folder), after the jar, in the order they load, lowest first:python tools/make_datapack.py --pixelmon Pixelmon.jar --pixelmon saves/MyWorld/datapacks/my-tweaks.zipThe palettes are added on top of your versions, so your changes are kept. Then put PixelPebbles above those datapacks in the load order (
/datapack listshows it), and run this again whenever they change. -
Install
- Copy
PixelPebbles-resourcepack.zipinto.minecraft/resourcepacks/and enable it in game. On a server, every player needs it (or the server can offer it as its resource pack). - Copy
PixelPebbles-datapack.zipintosaves/<world>/datapacks/, or into the server's<world>/datapacks/, then/reloador restart.
- Copy
Each tool can also be run on its own: tools/convert.py <folder> converts one model, and tools/kposer.py <poser id>
shows how a Kotlin poser is read.
Every converted Pokemon gets palettes named cobblemon and cobblemon_shiny, on the Pixelmon form that matches each
Cobblemon variant:
/pokespawn Bulbasaur palette:cobblemon
/pokespawn Vulpix form:alolan palette:cobblemon_shiny
/pokespawn Shinx gender:female palette:cobblemon
- Forms: regional forms, Burmy cloaks, Shellos seas, Unown letters, Tauros breeds and so on are matched by name.
- Genders: species with a separate female model get it for females.
- Cobblemon-only variants have no Pixelmon form, so they become extra palettes on the default form, named after
their aspects:
palette:cobblemon_flower_blueon Flabebe,palette:cobblemon_largeon Pumpkaboo, and so on. Runmake_datapack.py --verboseto see every mapping. - Glow: emissive texture layers become Pixelmon emissive textures. Like Pixelmon's own, they only show up close by, and only with emissive textures turned on in Pixelmon's config.
- Battle stance: species with a battle idle use it while in battle.
- Clips: Pixelmon plays idle, walk, fly, swim and idle_swim. The models also carry
sleep,cry,faint,physical,special_attack,statusandrecoilwherever Cobblemon has them. Pixelmon doesn't play those by itself, but a battle animation datapack can, with apokemon_animationaction that names the clip. - Hidden parts: parts that Cobblemon hides in some poses stay hidden in the matching clips. For example, Pidgey's open wings only show while it flies, and Decidueye's arrow is hidden.
- Large models with more than 200 bones (Pixelmon's limit) have their still bones merged into the bones that move.
- Animated textures (fire, water and screens on 18 species) use their first frame: Pixelmon models have no texture animation.
- Cosmetic items are not converted.
- Alpha Pokemon's glowing eyes are left out: Pixelmon has no alpha Pokemon.
- A few upstream animation formulas are malformed and play as 0, and 9 models have no idle animation upstream.
- Cobblemon variants that combine a form with a cosmetic option go on the default form, not on that form.
- The tools in this repository are licensed under the Mozilla Public License 2.0.
- The converted assets (models, animations and textures) keep Cobblemon's licence for them: the Creative
Commons Attribution-NonCommercial 3.0 Unported licence (CC BY-NC 3.0). Cobblemon's models folder carries that
licence, and the licence file is copied next to each model in the pack. The resource pack's
CREDITS.mdgives the licence for each species, and the licence texts are in itslicenses/folder.
The screenshots in docs/ show converted Cobblemon models, so they are under CC BY-NC 3.0 too.
All models, animations and textures are the work of the Cobblemon team and contributors. Thank you for making them and sharing them openly. PixelPebbles only converts them.
PixelPebbles is an unofficial fan project. It is not affiliated with or endorsed by Cobblemon, Pixelmon, Nintendo, Game Freak or The Pokémon Company. Pokémon and Pokémon character names are trademarks of Nintendo, Game Freak and The Pokémon Company.