Put an entity on the right block
Choose your edition and game version above the picker. Search for an entity by name, by ID or by a group such as hostile. The list changes with the version, so set that first when you play on an older world.
Leave Position at ~ ~ ~ to spawn the entity where you run the command. Use ~ ~1 ~ to put it one block higher. Enter plain numbers for a fixed spot in the world. Press Copy command, then paste it into Minecraft chat in a world where you can use commands.
Give a geared skeleton a rider
- Pick a skeleton. Open Equipment and enter
bowin Main hand. Set Drop chance to Never if the bow should stay out of the loot. - Open Passengers, enter
chickenand press Add passenger. The chicken rides the skeleton because the entity in the main list goes underneath its passengers. For a skeleton riding a spider, pick the spider in the main list and add the skeleton as the passenger. - Return to Traits for the base entity's name and behavior. Turn on Prevent despawn if you want it to stay for a later visit. If the command gets too long for chat, paste it into a command block.
Turn a Bedrock mob toward a path
Pick Bedrock Edition and choose the mob. Enter an Entity name if it needs a name tag. Set Y rotation to turn the mob left or right and X rotation to tilt its view up or down. A Spawn event belongs to the entity you picked. Leave it blank if you want the entity to spawn normally.