Page 1 of 1

Help Needed to Use Minecraft Pi API on Cannon Tutorial.

Posted: Sun Jun 01, 2014 9:54 pm
by NoobithOfRasberia
Hi im a noob to the raspberry pi, and I have been having some problems with it. I was trying to use minecraft pi edition and it took me about 4 weeks to figure out how to download it... I don't quite understand the tutorials, I cant figure out where to put code to make it do different things, I don't understand commands (which ones do what and where to put them). I was looking at the cannon tutorial for minecraft, and I had a lot of trouble with it. There was a lot of code, so I went online with my pi and copy and pasted each file on GitHub to a tab in the LXTerminal's nano something or other, and downloaded the files and still the cannon didn't work. How do you make the code interact with Minecraft? On the video e typed stuff into a box or something. How do you do that? I am very confused. I would appreciate any help. Thanks a gigabyte!

Re: I'm a noob

Posted: Mon Jun 02, 2014 6:45 am
by DeeJay
Do you have a single, simple example which you cannot get to work? What have you tried? How does it fail? Do you have a tutorial you are trying to follow? You will need to be specific - referring to 'the video' or 'code box thingy' does not help anyone else to help you.

Can you do a simple 'teleport to a location and place a block' operation?

Everyone was a 'noob' at some stage. The Subject: line is best used to describe the issue you need assistance with - in this case, perhaps "Help needed to use Minecraft Pi API"

Re: I'm a noob

Posted: Mon Jun 02, 2014 9:53 pm
by NoobithOfRasberia
Sorry, here's a like to the tutorial http://www.stuffaboutcode.com/2013/04/r ... n.html?m=1 there's a video that shows the guy putting some commands in to control the cannon, but I cant figure out how to get that box up, or even what the box is. I also have no idea what to do with the stuff on GitHub. I basically need a very VERY specific tutorial.

Re: I'm a noob

Posted: Tue Jun 03, 2014 5:22 am
by DeeJay
NoobithOfRasberia wrote:Sorry, here's a like to the tutorial http://www.stuffaboutcode.com/2013/04/r ... n.html?m=1 there's a video that shows the guy putting some commands in to control the cannon, but I cant figure out how to get that box up, or even what the box is. I also have no idea what to do with the stuff on GitHub. I basically need a very VERY specific tutorial.
"I also have no idea what to do with the stuff on GitHub. I basically need a very VERY specific tutorial."

Have you tried to do what that tutorial says? It's in a highlighted 'pull-up' box towards the end of the article. If that fails, what errors do you get?

Code: Select all

 sudo apt-get install git-core
cd ~
git clone https://github.com/martinohanlon/minecraft-cannon.git
cd minecraft-cannon
python minecraft-cannon.py
Information about using the Minecraft Pi API doesn't come much better than what Martin O'Hanlon writes. Have you tried reading the more basic introductory tutorials on the same site? http://www.stuffaboutcode.com/p/minecraft.html