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

functions/load.json is not supported within behavior packs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17.10
    • Confirmed
    • Windows
    • 683463

      Player cannot use load.json file to run functions once on world load as setup for future functions.

      Steps to reproduce:

      1. Import the attached test behavior pack
      2. Create a new world with Flat world preset.
      3. Observe the issue.

      Provided behavior pack will repeatedly output "ran with tick.json" to chat,
      while load.json should run test2.mcfunction once on world load.

      (test2.mcfunction contents)
      say ran with load.json
      setblock 10 10 10 stone

            PinkFluffyXenomorph Michal Nowak
            Votes:
            7 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: