
Pose
Create a Minecraft Fabric 1.20.1 mod as a Cobblemon addon that implements a command /givecobblemon <species> <animation> where the animation argument uses a...
20—cobblemon-fabricBoth1.21.1mod
Pose mod notes
- Added a Cobblemon pose utility mod with
/givecobblemon <species> <animation>to hand players a pose spawner item. Species suggestions come from the Cobblemon registry and animation suggestions are read from the species' poser JSONs inside Cobblemon assets. - The granted item is renamed to
[species] - [animation]and stores the chosen species/animation in its custom data; stacking is limited to one per slot. - Using the item on a block (server side) spawns a Pokémon of that species at the targeted face, locks its AI, prevents despawning, and forces the requested pose/animation. It marks the entity with a scoreboard tag for cleanup and ignores spawn caps/battles.
/removeposeraycasts from the player up to ~24 blocks to find the nearest pose-locked Pokémon in sight (using that tag) and deletes it, with feedback if nothing is targeted.- All features are server-safe and require Cobblemon to be present; the mod is available on both client and server but only registers server-side behavior.
Usage tips and limits
- Animations must exist in the target species’ poser; if an invalid animation is supplied, the command warns and does not create the item.
- Entities spawned by the item are invulnerable and static; interact/battle behaviors are disabled. Use
/removeposeto clear them. - Suggestions come from the bundled Cobblemon assets, so custom resource packs with extra poses will not be suggested unless they’re inside the Cobblemon mod jar.