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

BlockLocation class in @minecraft/server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.19.70.20 Preview
    • None
    • Unconfirmed
    • Android

      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

            Rystars Rystars
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: