Mojira Archive
MCPE-171261

[Scripting] ReferenceError: Native function [Entity::teleport] does not have required privileges

Just updated to 1.20 and working with some scripting that worked in 1.19.  I'm attempting to teleport the player, and am getting this error:

ReferenceError: Native function [Entity::teleport] does not have required privileges

 

I'm actually seeing this on a few different commands (such as Entity.kill()).  I don't see any reference in the documentation to privileges.  Manifest is set to 1.3.0-beta:

  "dependencies": [
    {
      "module_name": "@minecraft/server",
      "version": "1.3.0-beta"
       }
    ]

 

Just need a little guidance here.

Cannot Reproduce

Jon Tabor

2023-06-07, 06:04 PM

2024-12-28, 03:36 AM

2023-07-12, 05:15 PM

0

3

Plausible

1.20.0

-