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

[Gametest] mojang-minecraft-ui Module Not Found

XMLWordPrintable

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

      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:

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

            Calculator Callum McIvor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: