Teleporter for Minecraft Pi! Raspbian Jessie!!!!

I wanted to do a feature for Raspbian Jessie users for Minecraft Pi Teleporting.

My Wheezy Teleporter is here: https://coolchasgamer.wordpress.com/2016/05/23/teleporter-for-minecraft-pi-raspbian-wheezy-tutorial/

The Jessie Teleporter:

Make a new file called teleporter.py in /home/Pi and copy the following text and post it into geany (type gksu into LXTerminal and then type apt-get install geany if you don’t have geany yet) once the file teleporter.py has been opened. Save and press run once Minecraft has been opened and a new world has been created inside it.

The code is as followed:

from mcpi.minecraft import Minecraft

from time import sleep

mc = Minecraft.create()

x, y, z = mc.player.getPos()

sleep(5)

mc.postToChat(“Teleporting in 3s”)

sleep(1)

mc.postToChat(“2s”)

sleep(1)

mc.postToChat(“1s”)

sleep(1)

mc.postToChat(“Wooooooooooo!”)

mc.setPos(x, y+1000, z)

 

Now press F5 on the keyboard.

Enjoy!

Epic Chas Gamer 😂

 

Advertisements

One Reply to “Teleporter for Minecraft Pi! Raspbian Jessie!!!!”

Go on, you know you want to! Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s