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?
minecraft-commandsminecraft-java-edition
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?
Best Answer
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.