Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-150437

GameTest API: getEntities() method of Dimension not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.18.10.21 Beta
    • None
    • Unconfirmed
    • Windows

      The getEntities() method of Dimension doesn't seem to be recognized, and gives an error in the output. I include the manifest.json file used just in case.

      Minimal reproduction example (main.js):

      import * as MC from "mojang-minecraft";
      let dimension = MC.world.getDimension("overworld");
      let anything = dimension.getEntities();

      Output:

            Crack498 Manel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: