mojira.dev
MCPE-150437

GameTest API: getEntities() method of Dimension not working

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:

[media]

Attachments

Comments 2

Fixed in 1.18.10.24 Beta

As per reporter's comment closing as Cannot Reproduce.

Manel

(Unassigned)

Unconfirmed

Windows

1.18.10.21 Beta

Retrieved