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
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
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):
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki