Teleporter for Minecraft Pi! Raspbian Wheezy Tutorial!

Use a teleporter in Minecraft Pi on Raspbian Wheezy by opening LXTerminal and typing cd mcpi/api/python/mcpi and then typing in nano teleporter.py.

The code is below.

from 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)

Then press CTRL + O, and then save as teleporter.py. Then once on a world on Minecraft, go to LXTerminal and type python teleporter.py. Enjoy!

Epic Chas Gamer 🙂

Advertisements

About Epic Chas Gamer

I am a computer programmer who can create a mobile app for your website. I am also a Raspberry Pi expert and modern gamer, with Minecraft as my favourite. I develop ECG SeaSurf, a web browser only just released, crafting the future. The project is available for Windows and a BETA Linux version at coolchasgamer.wordpress.com/ecg-seasurf-unstable. I will also be voicing Shield Evil in "ECG Sir Wolf's Castle", as well as Chas and a few others. UPDATED ON 12th February 2017, at 14:46
This entry was posted in Gaming, Gaming on the Pi, Minecraft, Raspberry Pi. Bookmark the permalink.

1 Response to Teleporter for Minecraft Pi! Raspbian Wheezy Tutorial!

  1. Epic Chas Gamer says:

    I will definitely do a Feature on that
    Epic Chas Gamer 🙂

    Like

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