A few quick questions on building custom tutorials for inside Minecraft.
For using the template macro, is there a way to simply show the On Start block? Because it doesn’t have a javascript line (given code is just added to the top of the program), there doesn’t seem a clear way to just show on start (and not the run on command start block).
For a multiple step tutorial, is there any way to stop the tutorial finishing? Aka, remove the finish button? I am aware for single step tutorials, you can use ### @hideIteration true which will also hide the Finish button, but can’t see a way to do the same for tutorials featuring steps. The main reason for an interest in this is limiting the blocks for the full challenge.
Similar to question 2, is there a way to hide the exit tutorial button as well?
I think if you put just a // (empty comment) in the template it should work, that was actually a bug i caught immediately after the last release (in the hour of code tutorials) that we fixed (and pushed out as a patch).
@peli@jwunderl any thoughts on this?
Is going to take a decent sized redesign of my batch of tutorials if it isn’t possible to block students exiting a multi-stage tutorial like it is with hideiteration on a single stage tutorial.
In the end, question 1 isn’t the end of the world, 2/3 though are more showstoppers.
1 should be resolved with empty comment in template; here’s the one I replaced them with when fixing the bug where it was showing up:
```template
//
```
which worked properly.
From the look of it the query param for lockedEditor was added after the release; it was originally added as just a target flag, then exposed with the query parameter when it was needed for another feature (here), which is not in the currently minecraft release (uses v5.33.16, lockedEditor param was first added in v5.34.9)
This is perfect, thanks @jwunderl. I am due to be teaching using this particular world in the coming days and the ability to limit students access to the full code builder is pretty important, so I will hedge my bets with the beta version and see how it goes