pxt-arcade icon indicating copy to clipboard operation
pxt-arcade copied to clipboard

With events extension for MakeCode, examples in Help menu for on player travelled to location displays non-existing events.travelMode

Open MiloMeacham opened this issue 1 month ago • 1 comments

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

  1. Create a new project and open Extensions > Events
  2. Open a project, and open the Events tab
  3. (To view the list of events with their descriptions, select Blocks)
  4. Scroll down the list, right click on on player travelled to location
  5. Select Help
  6. View the Blocks example at the bottom of the help menu
  7. Observe the if statement for mode includes if mode = events.travelMode(events.TravelMethod.SwimWater)
  8. (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

Image

python.png

Image

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

MiloMeacham avatar Dec 01 '25 22:12 MiloMeacham

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:

  1. Check if microsoft/pxt-minecraft exists and is accessible (it may be private)
  2. If the repository is private or inaccessible, contact the Minecraft MakeCode team directly or file through their internal Azure DevOps system
  3. 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 🗺️

github-actions[bot] avatar Dec 03 '25 19:12 github-actions[bot]