I'm trying to make a sheep ride another sheep. The first sheep already exists, and I would like to make him ride a new sheep. Is there a way to do this with command blocks?

  • 1
    /entitydata @e[type=Sheep] {Riding:{type:Sheep}} - I'll post it as an answer when I can get onto a desktop.
    – aytimothy
    Commented Dec 19, 2014 at 3:44
  • @aytimothy I thought there would be a summon in there somewhere..? Could be wrong
    – Ben
    Commented Dec 19, 2014 at 3:45
  • Nope. You don't need to summon a new sheep to make it ride another. @Ben.
    – aytimothy
    Commented Dec 19, 2014 at 3:49
  • /summon is for making new entities. Since two (or more) entities riding each other is considered as a single entity, you don't need to /summon. You only use it if the two sheep(s) are separate..
    – aytimothy
    Commented Dec 19, 2014 at 3:51
  • EDIT: You don't need to summon a new mob to stack it onto another, since you're adding it straight onto the existing mob, though they're still two different entities.
    – aytimothy
    Commented Dec 20, 2014 at 5:50

1 Answer 1


You can make a sheep riding another sheep by using the {Riding:{[Insert Mob Info]} NBT data.

If you want to simply add a sheep onto another, you can use:

/entitydata @e[type=Sheep] {Riding:{id:Sheep}}

The /entitydata command allows you to set the NBT data within a mob.
Its syntax is: /entitydata [entity] [new data]

However, this does not work as stacked entities are considered two different entities, though it is the correct command.


When you use /summon with the {Riding:{id:[Mob Name]}} NBT data, the game automatically creates the mob for you. (All the other data, from UUID to statuses).

However, using the /entitydata command only appends on the NBT data you've added. So, adding on {Riding:{id:[MobName]}} isn't simply enough to define a mob.

Update: You can't apprehend an entity onto another entity without manually editing its entity. (Safeguard or bug).

Suggested way to do it:

  1. Open your .mca world data with any NBT Editor such as NBTExplorer
  2. Look for the location of the two mobs you want to merge.
    Use F3 to look for the chunk co-ordinates you're in. Don't use the raw co-ordinates.
  3. Go to the chunk(s) that the mobs are in with your NBT Editor.
  4. Go to the entity you want to be at the top of the stack.
    Entities are found in Chunk [X, Y] > Level > Entities > ...
  5. Create a compound tag within the entity's compound tag. Name it Riding:
    The colon has to be there. Capitalization also matters.
  6. Go to the entity that you want to be at the bottom of the stack.
  7. Cut all the entries within the entity's compound tag and move it into the newly created Riding: compound tag you've created.
  8. Now, delete the old entity's compound tag. (To clean up)
  9. Save and open in Minecraft. Go to the location of the mob you haven't deleted.

If you want stacks bigger than 2, it gets more complicated.

  • This isn't working. For some reason, adding the tag later is not changing anything. Maybe this is a bug? Commented Dec 19, 2014 at 21:35
  • Just revised my answer. The command didn't work because the mob type identifier is {id:[Mob Type]} and adding 1 to the score of nearby sheeps would simply mess up the isNear=1 condition I'm looking for. (It means: The condition would be true for only a tick before it continues to count up wildly)
    – aytimothy
    Commented Dec 20, 2014 at 5:17
  • The first solution didn't work either though. Commented Dec 20, 2014 at 5:21
  • @kittycat3141 Are you using 1.8? Are you using the correct capitals? @e[type=zombie] is wrong and different to @e[type=Zombie].
    – aytimothy
    Commented Dec 20, 2014 at 5:21
  • 1
    Could also be a bug. Commented Dec 20, 2014 at 5:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .