Mojira Archive
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:

Cannot Reproduce

Manel

2021-12-12, 05:24 PM

2022-01-19, 07:44 PM

2022-01-19, 07:44 PM

0

0

Unconfirmed

1.18.10.21 Beta

-