top of page

What you will learn: How to code basic commands using the command blocks for coordinates

What you will do:

This requires the creation of a special server, follow the instructions below

Read the instructions on the signs

Place your pressure plate activate command block down somewhere that you can see objects higher than you

Make sure there is nothing in your hands and right click the command block (2 finger click on trackpad) and enter summon Pig ~ ~ ~1 (the ~ is next to your 1 on your keyboard, you need to hold shift to use it)The  ~ ~ ~ is the coordinates of the command block in x y z.  So ~ ~ ~1 is x+0 y+0 z+1

Wow!!! a pig appears on the right of the block this is your z+1 coordinate!

Now try ~-1 

Wow! a pig appears on the left, this is your z-1

So lets label this so we know

Now lets try the y coordinate! Put in ~ 10

Y is up so the pig should appear above the block.  Finally try the x coordinate.  You will notice that is infront and behind you.

Ok label the x directions and you are all set to go.  Time for you to start experimenting!  Get a pig on a tree or on top of a building.  What strange places can you place them in? It's up to you!

bottom of page