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

[Scripting] The JS API doesn't have ability to deal with dimensions.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.17.20.21 Beta, 1.17.10.22 Beta, 1.16.210.61 Beta, 1.16.210.60 Beta, 1.16.210.57 Beta, 1.16.201 Hotfix, 1.17.0, 1.17.2 Hotfix
    • None
    • Unconfirmed
    • Windows

      Reproduce:
      Normal:
      There are two valid entities. Both A and B are in overworld.

      this.applyComponentChanges(B, this.getComponent(A, "minecraft:position"));
      

      B will be teleported to A.

      Bug:
      There are two valid entities. C is in the_end and D is in overworld.

      this.applyComponentChanges(D, this.getComponent(C, "minecraft:position"));
      

      D will not be teleported to C!

      The scripting engine lacks API about dimensions! Not only "minecraft:position", but also commands, ticking areas, blocks and entity queries will be buggy when the case involves dimensions.
      Too many features are hard to implement without the ability to interact with dimensions. Don't tell me this is not a bug.

            Worldwidebrine Worldwidebrine
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: