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

Gametest modules with the new "Beta-APIs" toggle will not support autocomplete for IDE applications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.50.22 Preview, 1.19.40, 1.19.50.23 Preview, 1.19.41
    • Unconfirmed
    • Multiple

      Main Issue

      If the current state of the new Beta-APIs eventually end up getting released, there will be no definition support for IDE applications. This will not be possible because the module name (@minecraft/server) has a "/" in it. As you might already know, you cannot put a "/" in a file's name. This affects the IDE apps because you will now be able to make a definition folder located in "C:\Users[USER]\AppData\Local\Microsoft\TypeScript\4.8\node_modules@types". An IDE app will not know the definitions by default and there will be no place to get them from. Without the Beta-APIs toggle, the current module name is "mojang-gametest". This works because there are no special characters that prevent the definition folder from being created.

      How to fix

      Rename the current Beta-API module name to something without a "/" character. Possibly something like "@minecraft-server".

        1. Screenshot (4).png
          158 kB
          Zodiuss
        2. Screenshot (6).png
          168 kB
          Zodiuss

            Zodiuss Zodiuss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: