How to use Cheat Codes

NEW:  In both Minecraft 1.7.10 and 1.8.x, you can now use the new /changeHorse command with cheat codes!  Check it out here.

In Minecraft 1.7.10 and 1.8.x, you can summon a magical horse with the DNA you want with this command:
/summon Unicorn ~ ~ ~ {Dna1:<cheat code goes here>}

For example, you could type:
/summon Unicorn ~ ~ ~ {Dna1:8450303,Tame:1,Saddle:1}

In Minecraft 1.8.x only (and not 1.7.10), use this command while near a magical horse:

/entitydata @e[r=5] {Dna1:<cheat code goes here>}

For example, you could type: /entitydata @e[r=5] {Dna1:8450303}

Cheat Codes

Code #1: 0 - Zebra!
Code #2: 8450303 - Wings, horn, big size, and Red-winged Blackbird hide.
  - Without the big size: 8388863
Code #3: 5243135 - Wings, horn, and Rainbow Smash hide.
Code #4: 125829119 - Redrum with all features (and no 0 genes).
Code #5: 108003327 - Blue Belle with all features (and no 0 genes).
  - Without flaming hooves: 107020287
Code #6: Coming Soon!

Cheating for Hippocamps!

You can also use cheat codes to give a magical horse hippocamp features, such as water breathing ability and a fish tail.  These traits use a different piece of entity data, but you set them the same way.  In Minecraft 1.8, The following command will give a nearby magical horse a fish tail and water breathing!  

/entitydata @e[r=5] {Dna2:5}

If you are using 1.7.10, you need to put the Dna2:5 value in your summon command, like so:

/summon Unicorn ~ ~ ~ {Dna1:8450303,Tame:1,Saddle:1,Dna2:5}


  1. Feel free to add your own discovered cheat codes in the comments!

  2. Um, why are all these zebras for me?

  3. Are the codes I listed above making zebras? If so, which version of the mod are you running?

    If you are trying to find new codes, low numbers make zebras. You need pretty high numbers to fill in the bits that change the hide genes.

  4. In version 1.2.0 -, 6666666, 555555, 4444444, etc spawn each ultimate unicorn, but in 1.2.2, it does not spawn ultimate unicorns anymore.

    1. Huh, this must have something to do with one of the bugs I fixed. Not sure if this is a new bug, or if I just fixed an old bug, but I'll check it out. In any case, I'll put up some new codes that will make all the ultimate unicorns! :)

  5. Hello!
    I'm using your Mod on a Server for me and my Friends and I wanted to summon the Rainbow Pegasus but the Command didn't do anything, I tried it with a Command Block as well, but nothing happened!
    It would be great if you can help me please!

    1. I can think of a few reasons why it might not work. I will need you to answer some questions first, to help me figure out what exactly is happening.

      1. Which command are you using? If you can type it here exactly as you typed it into the game, that would help.

      2. Which version of Minecraft are you using?

      3. Which version of the mod are you using? (I'm assuming something recent, like 1.2.0 or above).

      4. Do you get an error message when it doesn't work? If so, what is the error message?

      5. Did you install the mod on the server (i.e., Can you summon regular Unicorns?)?

      That should be a good start to helping me figure out what's going wrong. Answer those questions, and hopefully I can help you!

  6. Rainbow Smash with no 0 genes:
    Writing random numbers in summon command have finally paid off! My next targets:
    Hippocamp (it doesn't have ultimate ;_;)
    All with no 0 traits.
    BTW, I suggest you to use Dna2:23 instead Dna2:5 for hippocamp abilities, because you get FFGG instead of 0F0G.

    1. Very nice! I usually use a calculator that can display binary to come up with the right DNA strings. I'll have to post a page explaining how to do that....

      You are right that Dna2:23 IS BETTER than Dna2:5. I was just too lazy to come up with the better one. Good job! :D

      I'm glad you're enjoying the mod! Have you made a Hippocamp version of Typhon yet?

    2. Yeah I made it. It's very cool. I also made Alea, Typhon and Velvet with no 0 genes, because I'm collecting various unusual unicorns with all features. :)

    3. Can you please make the page explaining how to use the calculator!

    4. I'm planning a big documentation update soon. I'll try to get info up to help with the horse DNA, including how you can use a calculator to figure out how to modify the DNA.

    5. awesome!

      Hey BTW, check what I found messing with /summon. put this as the cheat code:
      summon Unicorn ~0 ~1 ~0 {Dna1:28896539,Tame:1,Saddle:1,Dna2:5}

    6. /summon Unicorn ~0 ~1 ~0 {Dna1:28897739,Tame:1,Saddle:1,Dna2:5}

      I used this code and made the same one you made with large wings

  7. Blackbird: 143223206
    Celestial sea horse (the new Ultimate Unicorn mutant breed): 178650623
    My collection is over!

  8. Um... so I bred two horses together, I think it was the Redrum and a Pegasus because I wanted the Redrum to have better wings. But the baby was really weird. It was like a Galaxy horse and I thought it was weird because I noticed there wasn't a cheat up here for spawning it.

    1. It's called a "Celestial Sea horse". It's a new breed.

  9. all of mine just come up as unicorns D':

  10. Greetings, the kids here love this mod and I made a tool for generating the cheat codes:

    Simply pick the options you want and cut/paste into minecraft.

    Here is a movie if you need more help.

    I will update the website as I do more reverse engineering and perhaps the Author of the mod would be willing to share some secrets with me so I can make the tool 100%.

    Thank you and enjoy!

    1. Hey, I'm glad they like the mod! :)

      I like your tool for generating cheat codes, too! Good work!

      Most of the info you need to continue your work can be found on the Breeding Page:

    2. Joel, I took a look at that and understand the options, but don't understand the translation of the DNA value to a 24-bit number. To find the options, I converted the existing cheat codes to binary then looked for bits (or DNA sequences) in common they by trial and error figured out what bits in the DNA to turn on. It looks like DNA strand 1 is 24-bits and DNA strand 2 is 8 bits.

      In any case, very cool mod!

      I figured out how to tag and name summoned objects in Minecraft, but unfortunately, the command line is limited to 255 chars. Looking for a workaround for that so that little people can create named unicorns.

      Thanks again and keep up the great mods! You rock! Very creative mind, especially the jousting and ice hooves.

    3. That all sounds about right. If you need it, I can send you or post the entire bit breakdown. (Sorry, should have offered that to begin with).

      Working around the 255 char limit for commands is going to be tougher. The optimal solution for that would be for me to just build in a cheat command that takes DNA, name, etc. as arguments and pops out a tame, saddled horse with the given attributes.

    4. By the way, how do you feel about me hosting your javascript tool on the site? Would that be OK? I'd be happy to post a link to your youtube video, as well.

  11. New Cheat Code Generator Released Today!

    Make Rainbow Unicorns, Unicorns with Hearts on their Wings, Giant Unicorns....and now you can even NAME YOUR UNICORN! Name your unicorn "Magic" and see what happens :) So much fun. Thanks again to Joel the author of this amazing mod. I will post a video later today and how to make all the cool unicorns.

    Link to Unicorn Creator

    Unicorn Creator

  12. Can i make a small version of 8450303 ? and how

    1. than how can I get blue belle without big size and fire hooves?

  13. Hi Unicorn Mod fans, a new version of the Custom Unicorn DNA Generator website is available, now with preview pictures. Just pick your options and cut/paste the summon code into minecraft.

    Here are some of our favorites:

    Bella the Rainbow Unicorn
    summon Unicorn ~0 ~1 ~0 {Dna1:5243526,CustomName:"Bell",CustomNameVisible:1}

    The Magic Unicorn
    summon Unicorn ~0 ~1 ~0 {Dna1:646,CustomName:"Magic",CustomNameVisible:1}

    The Giant Firehooved Rainbow Unicorn
    summon Unicorn ~0 ~1 ~0 {Dna1:6042246,CustomName:"Fire",CustomNameVisible:1}

    This is V3.0 of the website, enjoy!!!!

  14. When I try to use the cheats, they all come out as Zebras. Does anyone know why?

  15. Oh never mind, got it. Which number do I change if I want a Blue Belle without fire hooves?

    1. Here's the number you'd want to use to get a big Blue Belle without fire hooves: 107020287

  16. hey guys, test this hippocamp: /summon Hippocamp ~ ~ ~ {Dna1:9658742,Tame:80,Saddle:1}

  17. my minecraft doesn't do the spawn codes, it says that the } and words are not valid

    1. I'm not sure why it's not working, but try the new /changeHorse command. Instructions are at

  18. My Ultimate Hippocamp's texture is not showing, it just looks like a normal hippocamp :(

  19. You should try this one! It´s pretty funny XD
    /summon Unicorn ~ ~ ~ {Dna1:5243135,Tame:1,Saddle:1,Attributes:[{Name:generic.movementSpeed,Base:1},{Name:horse.jumpStrength,Base:15}]}

  20. I think I'm one of the first who found this:
    /summon Unicorn ~ ~ ~ {Dna1:482995702,Dna2:268435392,Tame:1,Saddle:1}

    1. If you use the Unicorn creation tool, you can make this alacorn

      Just select:

      * Pegasus
      * Large Wings
      * Unicorn Horn
      * Firehooves
      * Add a Saddle
      * Tame the Unicorn

      Here is the code:
      summon Unicorn ~0 ~1 ~0 {Dna1:1835142,Tame:1,Saddle:1}

      Without fire-hooves:
      summon Unicorn ~0 ~1 ~0 {Dna1:1048710,Tame:1,Saddle:1}

      Extra Large Size
      summon Unicorn ~0 ~1 ~0 {Dna1:1060998,Tame:1,Saddle:1}

      Have fun and keep discovering!

    2. Your website doesn't have golden kirin hide and other kirin stuff yet.

    3. Can you share the DNA code for the new breeds and I will add them to the Unicorn Creator tool? I just need the base DNA body type.

      Thank you Gaming Master.

  21. try this out!
    summon Unicorn ~0 ~1 ~0 {Dna1:28896539,Tame:1,Saddle:1,Dna2:5}

  22. As of late I have received a bit of email on this. So I made a quick video explaining the process of generating and pasting summon codes.

    This video will show you how to make custom ponies, horses, unicorns, alacorns, and pegasus, and other magical mounts in Minecraft. You can even name them, tame them, and give them a saddle. It is as simple as cut/paste.

    The link is here:

    The website:

    The biggest two problems.
    1. To get control of your mouse when playing minecraft is to press the / key, under the question mark on the keyboard.
    2. Holding CTRL+V is the command for PASTE, so once you copy your custom summon code, simply press CTRL+V to paste it in.

    This tool does not have the new breed called The Kirin. Please send me a summon code that creates this unicorn and I will get it added.

    Thanks again to hackshop for this excellent mod!

  23. I created a website which helps creating unicorns:
    It's like Michael George's, but here you need a bit more work by yourself. Whole system is explained here.

  24. If you name a horse Midnight, it's like a purple color and it's called 'Midnight, the Stylish'

  25. What's the code for a horse to Have a Hippocamp tail, water breathing, Kirin antlers, (maybe) alternate horse model, and magic powers?

    1. Dna1:214260222 for a Golden Kirin type (not necessary)

    2. More specific code: /entitydata @e[r=5] {Dna1:214260222,Tame:1,Saddle:1,Dna2:268433691}

    3. Or if want to start with it: /summon Unicorn ~ ~ ~ {Dna1:214260222,Tame:1,Saddle:1,Dna2:268433691} (You can't edit posts...)

  26. I'm not entirely sure how to breed the horses as I am unable to summon them

  27. Hi all, I updated the Unicorn Calculator website for the latest version of Minecraft.

    It now supports:
    Zebra - Striped
    Pegasus - White
    Nightmare - Black with Red Hooves
    Destrier - Dark Brown
    Rainbow Smash - With Rainbow Spots on Legs and Rainbow Wings
    Blue Belle
    Red Rum
    Red-winged Blackbird
    Celestial Sea Horse
    Golden Kirin

    and the following attributes:
    Destrier Body Type (Large)
    Fire Hoofs
    Fish Tail (Hippocamp)
    Long Tail
    Magic powers (Kirin)
    Unicorn Horn
    Water Breathing

    Thanks to GamingMaster for his website with all of the new codes.

    Thanks again to Joel@hackshop for this excellent mod! If you want to host this calculator, let me know and I will send you a zip file.

    1. Nice work! :) I may take you up on that offer!

  28. Joel this mod is my favorite mod although I wonder if there is a way to get a free magic horse if it is so porfa dime I love this mod and I want to use it
    100% every day I read this blog to know more and more although I'm not very good with the pairings between these great horses

    1. I'm glad you like it! I am considering including some ways to get a free horse in the future, although I haven't completely figured out the details yet. When I have more info, I'll post it on the main page!

  29. Tiny-winged giant-bodied zebra: /changeHorse 055625
    Rainbow Death: /summon Unicorn ~0 ~1 ~0 {Dna1:89928214,Tame:1,Saddle:1,Dna2:267389384}

    1. Very nice find! Thanks for posting the code!

  30. The Ultimate Rainbow smash:
    /summon Unicorn ~ ~ ~ {Dna1:89480895,Tame:1,Saddle:1,Dna2:9}
    A zebra:
    /summon Unicorn ~ ~ ~ {Dna1:0,Tame:1,Saddle:1}
    The ultimate blue bell:
    /summon Unicorn ~ ~ ~ {Dna1:78265876,Tame:1,Saddle:1,Dna2:9}

  31. /summon Unicorn ~ ~ ~ {Dna:321,Tame:1,Saddle:1}

  32. /summon Unicorn ~ ~ ~ {Dna:321,Tame:1,Saddle:1}

  33. I created a blue belle Kirin, a light blue and white Kirin, and a rainbow smash with antlers!!


  34. {Dna1:213909504,Dna2:268433856} for a golden Kirin with no powers

    {Dna1:214259109,Tame:1,Saddle:1,Dna2:268433856} for a golden Kirin with unicorn horn, big wings, unicorn power, flaming feet and big body

  35. It would be cool if someone made a zebra with wings but the stripes were rainbow colors, if there is already one made or if you made one please share the code with me because it sounds cool

  36. I don't no if it is possible but I think it will be easier for everyone to directly use DNA string in the summmon command
    (Sorry for my English it isn't my mother tongue)

    1. This is a good idea. I will look into it!

  37. can u give me the command for making the wing and horn rainbow alicorn for 1.11.2?

  38. This comment has been removed by the author.

  39. This comment has been removed by the author.