With events extension for MakeCode, examples in Help menu for on player travelled to location displays non-existing events.travelMode
Describe the bug With the events extension for MakeCode, examples in the Help menu for on player travelled to location displays non-existing events.travelMode
To Reproduce Steps to reproduce the behavior:
Enter a world
- Create a new project and open Extensions > Events
- Open a project, and open the Events tab
- (To view the list of events with their descriptions, select Blocks)
- Scroll down the list, right click on on player travelled to location
- Select Help
- View the Blocks example at the bottom of the help menu
- Observe the if statement for mode includes if mode = events.travelMode(events.TravelMethod.SwimWater)
- (Optional: convert code to javascript/python and attempt to run)
Expected behavior Expected Blocks format of if mode = travel mode Ideally, the example could also include use of the distance field, and not just location and mode
Attachments wrongFormatting.mp4
https://github.com/user-attachments/assets/9b4c3f31-3cf7-4c7b-b94e-c8ec583c54bc
javascript.png
python.png
Desktop:
OS: Windows Version: Microsoft MakeCode for minecraft version: 2.1.27, Microsoft MakeCode version: 12.1.17
Additional context Bug ported over from ADO
Wrong Repository
Correct Repository: microsoft/pxt-minecraft (or internal Minecraft MakeCode repository)
Reasoning: This issue describes a bug in the Events extension for MakeCode Minecraft, not MakeCode Arcade. The issue specifically mentions "Microsoft MakeCode for minecraft version: 2.1.27" in the Desktop section and references an Azure DevOps work item from the Minecraft project (dev-mc.visualstudio.com/Minecraft/_workitems/edit/1492178). The "on player travelled to location" event and the events.TravelMethod enum are Minecraft-specific features that don't exist in Arcade.
Recommendation: This issue should be filed in the microsoft/pxt-minecraft repository or handled through the internal Minecraft MakeCode team's issue tracking system (Azure DevOps). The pxt-arcade repository is for the casual game editor at (redacted), which has different blocks, APIs, and extensions than Minecraft Education Edition.
If you need to report this issue for Minecraft:
- Check if microsoft/pxt-minecraft exists and is accessible (it may be private)
- If the repository is private or inaccessible, contact the Minecraft MakeCode team directly or file through their internal Azure DevOps system
- Include the same detailed reproduction steps and attachments when filing in the correct location
🏴☠️ Ahoy! This treasure was crafted by pxt-arcade Issue Triage Assistant fer issue #7195 🗺️