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

@minecraft/server-net api is not recognized on new versions of minecraft

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.21.30.22 Preview, 1.21.2 Hotfix, 1.21.20
    • Confirmed
    • Windows

      The experimental "@minecraft/server-net" api does not work even with beta apis turned on.
      The content log displays the following error:
      [Scripting][error]-Plugin [Minecraft Fan Remote BP] - module [Minecraft Fan Remote BP - 1.0.0] depends on unknown module [@minecraft/server-net - 1.0.0-beta].

      Steps to reproduce:

      1. Install my addon linked in the attachment as an example.
      2. Enable Content Log GUI in settings
      3. Create a new world with the addon installed and with the "Beta APIs" experiment enabled.
      4. Observe the unknown module error during the loading screen. Additionally, we can run /scriptevent fan:test to observe how my addon script has failed to load and will provide no response. If there is no bond bridge controller on your network, it should send the player a message saying "§cThe Device could not be reached. The Local Address is likely invalid."

            Memesat1am Aiden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: