A giant 3D axis

A 3D axis symbol

Where is the world heading? You can know where with all three axes printed to see. This is a great way to learn how positions work.

Try the code:

let pz: Position = null let py: Position = null let px: Position = null let p: Position = null player.onChat("axis", function () { p = player.position() px = positions.add(p, pos(20, 0, 0)) blocks.fill( OBSIDIAN, p, px, FillOperation.Replace ) blocks.print( "X", REDSTONE_BLOCK, px, EAST ) py = positions.add(p, pos(0, 20, 0)) blocks.fill( OBSIDIAN, p, py, FillOperation.Replace ) blocks.print( "Y", REDSTONE_BLOCK, py, EAST ) pz = positions.add(p, pos(0, 0, 20)) blocks.fill( OBSIDIAN, p, pz, FillOperation.Replace ) blocks.print( "Z", REDSTONE_BLOCK, pz, EAST ) blocks.print( p.getValue(Axis.X) + "," + p.getValue(Axis.Y) + "," + p.getValue(Axis.Z), REDSTONE_BLOCK, positions.add(p, pos(-30, 0, 0)), NORTH ) })