I want to spawn an entity using an command but I can't. For example, I type in /spawn pig and nothing happens.

Am I doing something wrong or is my computer messed up?


2 Answers 2


If you use Minecraft 1.7.2 or higher, you can use /summon Pig ~ ~ ~ to summon a pig at your location. Replace the "~" with the x, y and z coordinates of the place you want it to appear.


The command for spawning is summon, not spawn. Also, you are forgetting the capital letter.

For example: Instead of doing

/summon pig

you need to do

/summon Pig
  • As a programmer, I can tell you, the improper use of capitalisation is one of the most common mistakes - and the easiest to overlook. The resulting frustration will hopefully get you use to the idea a bit better, as it has done so with me.
    – user106385
    Jul 7, 2015 at 3:45

You must log in to answer this question.

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