- Following 0 users
- Followed by 0 users
- Votes 1
- Subscriptions 8
Badges
No badges earned
Posts
Votes on activity by Peter Januarius-
Calling functions from functions
Hi All, I tried to articulate this in an earlier post but failed miserably! It seems that the way the Makecode python environment is architected, it is extremely hard to do a simple thing...call fu...
-
Why do function callbacks do this weird thing?
Why does this work: def testfn(): pass player.on_chat("tfn", testfn) But then if I do this below... def testfn2(): testfn() Suddenly the callback doesn't work in line 3 above an...
-
Not a technical problem
Hey - sorry this is a general question. I asked a few of my students to signup to the forum as we are doing a minecraft module where they are creating a world from scratch in Python. Hope thats ok ...
-
Coordinate issue
Hi, I was under the impression that the ground (grass) block in the basic grass world was at Y=3. This worked for me initially as I am generating my world using python. However, I just created a ne...
-
Trying to build a roof in Python
Hi, I'm trying to build a roof on the ground then move it to the top of my building. Can't get the code to reverse the stair block though. Anyone done this or is there a easier/better way to build...
-
Placing slabs on top of each other with Python
In Minecraft EE, I can't seem to place a slab on another slab using python. Instead I get a layer of air in between the slabs if I - say go from y=5 to y=6 using blocks.fill() I guess it is cos' th...
-