mojira.dev
MCPE-152370

[Gametest] mojang-minecraft-ui Module Not Found

Cannot import the 'mojang-minecraft-ui' Module

Steps to Reproduce:
1. setup the following gametest script:

import * as mc from "mojang-minecraft";
import * as ui from "mojang-minecraft-ui";

mc.world.events.tick.subscribe(() => {
    
});

2. Load into world with gametest toggle enabled and pack enabled

Observed Results
The following error is logged:

[media]

Expected Result
There should be no error and the module should be able to import

Attachments

Comments 1

Fixed in 1.18.0.27 Beta

Callum McIvor

(Unassigned)

Unconfirmed

Windows

Windows 11

1.18.20.25 Beta

Retrieved