In this lesson, the program will teleport the player to different places. There will be 3 of them.
To teleport to the house, the user must enter the number 1, to the lake 2, to the roof 3
The coordinates for teleportation are arguments to the setPos () function. In advance, we determine the places for mn
print ("To teleport into the house enter 1, to the lake enter 2, to the roof - enter 3)
tp = int (input (":"))
if tp = 1: mc.player.setPos (87, 88, -13)
elif tp = 2: mc.player.setPos (92,81, -96)
elif tp = 3: mc.player.setPos (67,101, -29)
else: mc.player.setPos (16,98, -92)