I have built myself a lovely tidy house, with tv, 2 floors , garden and ocean view ... but i cant get that bed working !!
Sometimes it appear in a half, other times not at all. I understand it has x2 blocks (like the door) with x2 different id's again like the door (0, and 8) and i have added both BUT the thing is still giving me grief - here is the code (where 26 is the block ID for bed)
mc.setBlock(x, y, z, 26, 0)
mc.setBlock(x, y, z + 1, 26, 8)
Anyone had success getting it working? i be honest i would quiet like a double bed just in case i have someone over to stay or if i get lucky ;0)
But once i get one working and understand the method i can easy enough change the code for a 2nd.
If anyone can help I thank you in advance, this house has been cool and has asked for understanding way beyond this bed code so i an banjaxed as to why i am getting the headache that i am.
I am putting on a summer camp with kids showing them python coding and building in Minecraft, we be building houses, football stadiums, wateralls/volcanos rainbows etc BUT as a big end of week treat I was hoping to knock up an Avengers tower, or something similar with them
I think the (basic) shape is within me BUT the detail could send me batty
As a teacher its never advised to reinvent the wheel so does any one have anything similar i might use?
I have been teaching kids here in Ireland Python and recently got ythem into the Raspberry PI Minecraft where we are building gardens/houses/bridges in Python. Its a blast and they love it !!
I only hasve 20 Rasp I so figured my class was restricted ot 20 pupils BUT i sort of heard that WIndows users can also avail of this
May I ask is this true and if so:
What do they need - ie the Minecraft game installed/account (It is free on Pi even if a limited version)
A version of Python - obviously
How does the code differ? as the Pi version references the Pi library - mcpi etc.
I am trying to keep costs down BUT maximise the class and learning potential of the kids - ie many wouldn't have Pi at home so cant 'play around' in their own time.
2
Hey all
I have built myself a lovely tidy house, with tv, 2 floors , garden and ocean view ... but i cant get that bed working !!
Sometimes it appear in a half, other times not at all. I understand it has x2 blocks (like the door) with x2 different id's again like the door (0, and 8) and i have added both BUT the thing is still giving me grief - here is the code (where 26 is the block ID for bed)
mc.setBlock(x, y, z, 26, 0)
mc.setBlock(x, y, z + 1, 26, 8)
Anyone had success getting it working? i be honest i would quiet like a double bed just in case i have someone over to stay or if i get lucky ;0)
But once i get one working and understand the method i can easy enough change the code for a 2nd.
If anyone can help I thank you in advance, this house has been cool and has asked for understanding way beyond this bed code so i an banjaxed as to why i am getting the headache that i am.
Cheers
Tim
[/pre]
2
Hey
I am putting on a summer camp with kids showing them python coding and building in Minecraft, we be building houses, football stadiums, wateralls/volcanos rainbows etc BUT as a big end of week treat I was hoping to knock up an Avengers tower, or something similar with them
I think the (basic) shape is within me BUT the detail could send me batty
As a teacher its never advised to reinvent the wheel so does any one have anything similar i might use?
Thank you
Tim
0
Hey
I am new thank you for having me.
I have been teaching kids here in Ireland Python and recently got ythem into the Raspberry PI Minecraft where we are building gardens/houses/bridges in Python. Its a blast and they love it !!
I only hasve 20 Rasp I so figured my class was restricted ot 20 pupils BUT i sort of heard that WIndows users can also avail of this
May I ask is this true and if so:
What do they need - ie the Minecraft game installed/account (It is free on Pi even if a limited version)
A version of Python - obviously
How does the code differ? as the Pi version references the Pi library - mcpi etc.
I am trying to keep costs down BUT maximise the class and learning potential of the kids - ie many wouldn't have Pi at home so cant 'play around' in their own time.
Thank you in advance for any help.
Regards
Tim