NoobithOfRasberia
Posts: 2
Joined: Sun Jun 01, 2014 9:09 pm

Help Needed to Use Minecraft Pi API on Cannon Tutorial.

Sun Jun 01, 2014 9:54 pm

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!
Last edited by NoobithOfRasberia on Mon Jun 02, 2014 10:01 pm, edited 2 times in total.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: I'm a noob

Mon Jun 02, 2014 6:45 am

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"
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

NoobithOfRasberia
Posts: 2
Joined: Sun Jun 01, 2014 9:09 pm

Re: I'm a noob

Mon Jun 02, 2014 9:53 pm

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.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: I'm a noob

Tue Jun 03, 2014 5:22 am

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
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Return to “Python”