Mojira Archive
MCPE-166697

BlockLocation class in @minecraft/server

Steps to Reproduce:

1.create simple behaviors

2.add the "@minecraft/server" dependency to the manifest

3.create an Index.js script and activate the script in the manifest

4.then try importing the BlockLocation class from the "minecraft/server" module to the index.js file earlier 

5. Create a world and install the behavior script earlier

 

Observed Results:

BlockLocation class could not be found in module "@minecraft/server"

 

Expected Results:

there should be a BlockLocation class and it can be imported from the "minecraft/server" module

 

Notes:

this also happens in the BlockRayCastOptions interface

Awaiting Response

Rystars

2023-02-06, 02:28 AM

2023-10-03, 05:28 PM

2023-10-03, 05:28 PM

0

0

Unconfirmed

1.19.70.20 Preview

-