mojira.dev
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

Attachments

Comments 5

To make your bug report as effective as possible, please include the following steps to reproduce the problem (so that your report looks like the example given here):

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

ok, I've changed as in the example 

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, could you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📓 Project Summary – 📧 Suggestions – 📖 Minecraft Wiki

Hey, I reported it a long time ago, why have you only responded now? ಠ⁠︵⁠ಠ

Please add it to the affected versions if this is still an issue in the latest version.

This ticket will automatically reopen when you reply.

Rystars

(Unassigned)

Unconfirmed

Android

Android 10

1.19.70.20 Preview

Retrieved