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

Import problems on behavior packs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.21.20.24 Preview, 1.21.2 Hotfix
    • None
    • Unconfirmed
    • Multiple

      Hey there. Sorry for not putting the new versions on my old report bugs. I was away since 2022, now I have a problem and I’m not sure if it’s a duplicate or invalid or confirmed because I kept searching for the bug that I’m having problems with, but I didn’t find it. So, I’ll reveal it here.

      So here’s the bug, the code:

      import { world, Vector, system } from "@minecraft/server";

      "Then the rest will be imported but it’s not in the latest version of Minecraft.

      This kept on having import problems from other addons unknowingly.

      It said that there’s an error after I formatted it and it said:

      Error: Parse error on line 1:
      import { world, Vect
      ^
      Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined'

      I don’t know if there’s an unknown error or a change somehow, but if there’s a revised version of the code, it would be awesome.

      (IT'S BEEN RESOLVED, it’s that some scripts were changed, so it’s my fault. Go ahead and delete this bug report)

            Sedwards115 Blake Edwards
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: