bantammenace2012
Posts: 122
Joined: Mon May 28, 2012 12:18 pm

Adventures in Minecraft

Sat Dec 27, 2014 2:30 pm

I'm having some teething problems with this book and the latest 2014-12-24 raspbian Image: The following are from the first Chapter, Is there an on-line update for the book ?
1. Minecraft is already installed but not in the same directory shown in figure 1-3. Shouild I un-install the pre-installe version and then download and re-install? If so, how?
2. There are no desktop icons and in the drop-down there is no IDLE icon to choose.
3. At the top of page 28 should set time 1 be time set 1 ?
I am persisitent but others may not be so inclined.
kind regards

User avatar
DougieLawson
Posts: 32667
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Adventures in Minecraft

Sat Dec 27, 2014 2:42 pm

Don't un-install it.

There's now an icon on the desktop to get Minecraft running. Also programming with the Python API interface is easier because the python package is pre-installed in PYTHONPATH so a simple import just works.

Take a look at http://theMagPi.com issue #27 where there's an article about generating QR codes in Minecraft. That has more detail of how to get MCPI running.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

User avatar
PeterO
Posts: 4164
Joined: Sun Jul 22, 2012 4:14 pm

Re: Adventures in Minecraft

Sat Dec 27, 2014 2:55 pm

DougieLawson wrote: There's now an icon on the desktop to get Minecraft running.
It's not on the desktop, it is a menu option under Menu-->Games-->MinecraftPi

PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),Aeromodelling,1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
DougieLawson
Posts: 32667
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Adventures in Minecraft

Sun Dec 28, 2014 11:00 am

PeterO wrote:
DougieLawson wrote: There's now an icon on the desktop to get Minecraft running.
It's not on the desktop, it is a menu option under Menu-->Games-->MinecraftPi

PeterO
Did it move with the new UI (which I've not seen)?
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

2012-18: 1B*5, 2B*2, B+, A+, Z, ZW, 3Bs*3, 3B+

Any DMs sent on Twitter will be answered next month.

User avatar
bensimmo
Posts: 2708
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Adventures in Minecraft

Sun Dec 28, 2014 3:09 pm

Similar problem here, Just setup a B+ for the first time (Christmas 2014 if anyone searches this) and kids noticed Minecraft, so we are following the official website learning resources http://www.raspberrypi.org/learning/get ... rksheet.md
and it mentions use IDLE not IDLE3

Well no such thing as IDLE or even IDLE3 on the desktop or in hte Menu. Minecraft was in the Menu under Games.

So we are now stuck, thought the initial Learning would be straight forward but fallen at the first hurdle.

Tried Python from the menu and the given commands but that just errors.
Grumpy kids, well on eis getting board and the other is building a world the traditional way ;-)

HELP, don't want to put them off before they've even started.

User avatar
ZRTECH
Posts: 3
Joined: Mon Dec 29, 2014 5:26 am
Location: Seattle, WA
Contact: Website

Re: MCPI Solution (Solved)

Mon Dec 29, 2014 10:31 am

So guys, I spent the last couple hours going through the frustration of being persistent in wanting to discover the dreaded 'mcpi' directory that all instructions point us to. "I tried to write the instructions from a beginners perspective as a walk-through on how to get things working." Here's what I came up with: http://www.zrtechnologies.com/content/m ... necraft-pi

You're welcome,
Zahir Narsisto Rodulfo
ZRTECH
http://www.zrtechnologies.com
Last edited by ZRTECH on Sat Jan 03, 2015 10:58 pm, edited 2 times in total.

bantammenace2012
Posts: 122
Joined: Mon May 28, 2012 12:18 pm

Re: Adventures in Minecraft

Tue Dec 30, 2014 11:20 am

Don't give up just yet. Unfortunately there's no such thing as an upto date printed book wrt. RPi as it's constantly changing. Here's my current understanding but I suggest its down to the authors, both very very responspible and reliable guys btw, to push out clarification asap. Try looking at the Minecraft pages and forum onhttp://www.stuffaboutcode.com
1.Minecraft Pi is pre-installed on the current Raspbian and Noobs cards so it does not need to be downloaded again and re-installed. However it does not live in a folder called mcpi. I've only done Adventure 1 so i don't know whether this will be a problem further on. Therefore ignore pages 6-18 other than steps 1-5 on page 16-17 relating to downloading and extracting the starter kit for RPi from http://www.wiley.com/go/adventuresinminecraft
2.In the latest version of Rasbian and Noobs IDLE and IDLE3 have been renamed Python and Python 3. Open Python, file, new window, then in the new window, file, save as HelloMinecraftWorld.py and type the code into that.
3. The worksheet at http://www.raspberrypi.org/learning/get ... rksheet.md is also out of date but has some other useful info. I found the use of the Tab key useful when trying to release the mouse from the game back to the desktop. To get back to the game I clicked on the game background that sticks out from under the game on my monitor.

User avatar
ZRTECH
Posts: 3
Joined: Mon Dec 29, 2014 5:26 am
Location: Seattle, WA
Contact: Website

Re: Adventures in Minecraft

Tue Dec 30, 2014 11:49 am

bensimmo wrote:Similar problem here, Just setup a B+ for the first time (Christmas 2014 if anyone searches this) and kids noticed Minecraft, so we are following the official website learning resources http://www.raspberrypi.org/learning/get ... rksheet.md
and it mentions use IDLE not IDLE3

Well no such thing as IDLE or even IDLE3 on the desktop or in hte Menu. Minecraft was in the Menu under Games.

So we are now stuck, thought the initial Learning would be straight forward but fallen at the first hurdle.

Tried Python from the menu and the given commands but that just errors.
Grumpy kids, well on eis getting board and the other is building a world the traditional way ;-)

HELP, don't want to put them off before they've even started.
I have put together step by step instructions on my page for both the MCPI and IDLE confusions. I tried to write the instructions from a beginners perspective as a walk-through on how to get things working. Check it out: http://www.zrtechnologies.com/content/m ... necraft-pi ;)
~
ZRTECH
Web/Grphx/Apps/Hardware/Software
http://www.zrtechnologies.com

bantammenace2012
Posts: 122
Joined: Mon May 28, 2012 12:18 pm

Re: Adventures in Minecraft

Wed Dec 31, 2014 2:20 pm

There is now a sticky on the Adventures in Minecraft forum that addresses this issue.
http://www.stuffaboutcode.com/p/adventu ... forum.html

D9M2W
Posts: 37
Joined: Tue Dec 30, 2014 5:34 pm
Location: West Midlands, UK

Re: MCPI Solution (Solved)

Sat Jan 03, 2015 4:20 pm

ZRTECH wrote:So guys, I spent the last couple hours going through the frustration of being persistent in wanting to discover the dreaded 'mcpi' directory that all instructions point us to. Here's what I came up with: http://www.zrtechnologies.com/content/m ... necraft-pi

You're welcome,
Zahir Narsisto Rodulfo
ZRTECH
http://www.zrtechnologies.com
I wish I had saw your link BEFORE i had to figure this all out by myself! :(

Great you have documented it however so no one else gets to feel our pain :L

User avatar
ZRTECH
Posts: 3
Joined: Mon Dec 29, 2014 5:26 am
Location: Seattle, WA
Contact: Website

Re: MCPI Solution (Solved)

Sat Jan 03, 2015 10:54 pm

D9M2W wrote:
ZRTECH wrote:So guys, I spent the last couple hours going through the frustration of being persistent in wanting to discover the dreaded 'mcpi' directory that all instructions point us to. Here's what I came up with: http://www.zrtechnologies.com/content/m ... necraft-pi

You're welcome,
Zahir Narsisto Rodulfo
ZRTECH
http://www.zrtechnologies.com
I wish I had saw your link BEFORE i had to figure this all out by myself! :(

Great you have documented it however so no one else gets to feel our pain :L
That's terrible, I am very sorry to hear that. :( Yes, my hopes in investing the time to write up the instructions I wrote is to help avoid anyone from going through the nightmare I had to go through. So, lets hope others find them. :geek: http://www.zrtechnologies.com/news

PS: As I continue to work with the Pi, I will continue to document any other processes/tips I discover. Wish you luck with your Pi adventures. ;)

mob-i-l
Posts: 210
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Adventures in Minecraft

Tue May 05, 2015 8:32 am

I fix this problem like this because it saves SD-card memory by using links. In e.g. LXTerminal:

Code: Select all

cd
sudo rm -rf ~/mcpi
rm ~/Desktop/mcpi.desktop
dirs=$(find /opt/minecraft-pi/ -type d | sed 's|^/opt/minecraft-pi|mcpi|'); for dir in $dirs; do mkdir $dir; done
dirs=$(find /opt/minecraft-pi/ -type f | sed 's|^/opt/minecraft-pi||'); for dir in $dirs; 
do ln -sf '/opt/minecraft-pi'$dir 'mcpi'$dir; done
Raspberry Pi0&1A&1B2&1B+&2B&3B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

Return to “Other projects”

Who is online

Users browsing this forum: No registered users and 7 guests