How do I make an enderdragon in a minecart face west instead of north?

How do I make an enderdragon in a minecart face west instead of north? - Man Holding Fedora Hat on Head

I'm making a fantasy place in Minecraft and I want the dragons to be facing the castle, but they're facing to the right of the castle instead of the front.

I've used the Enderdragon in a minecart trick but I don't know how to make it face the right way. How do I change the direction the dragon is facing?



Best Answer

The Rotation NBT tag must be edited to change this:

/summon ender_dragon ~ ~ ~ {Rotation:[yRot,xRot],NoAI:1}

In your case:

/summon ender_dragon ~ ~ ~ {Rotation:[0f,270f],NoAI:1} 

This command will summon a dragon facing straight west. Other increments of 90 will give one of the remaining cardinal directions. Changing yRot changes the up/down angle.
If you already have a spawned Ender dragon, you can edit its NBT by the entitydata command:

/entitydata @e[type=ender_dragon,limit=1,sort=nearest] {Rotation:[0f,270f]}



Pictures about "How do I make an enderdragon in a minecart face west instead of north?"

How do I make an enderdragon in a minecart face west instead of north? - A Woman Protesting with Messages on Band Aids
How do I make an enderdragon in a minecart face west instead of north? - Two Woman
How do I make an enderdragon in a minecart face west instead of north? - Person Doing Handcraft Face Mask



Can you put the Ender dragon in a Minecart?

As FEichinger explained, it's impossible keep an Ender Dragon in place using building blocks. But you can continuously teleport the Dragon to the same location using a Command Block with the /tp command (since snapshot 14w02a it can work on any entities, not just players).

How do you keep the Ender dragon in one place?

Use the on-screen keyboard to type in /summon ender_dragon and then tap the right-facing arrow on the far-right side of the text box. Wait for the Ender Dragon to appear.



FARM 10 ENDERDRAGON, 1000 EXP in POCHISSIMO TEMPO! - Vanilla su Minecraft ITA #116




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Nicholas Githiri, ShotPot, Yogendra Singh, Prasanta Kr Dutta