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

Events child 'add' not valid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • None
    • 1.19.62
    • None
    • Unconfirmed
    • Windows

      In a JSON file of a block, in the events I wanted to add a "component_group" but it won't let me and I get the next message:  | events | delay | add | child 'add' not valid here

         "component_groups":{
              "start":{
                  "minecraft:timer":{
                      "looping":false,
                      "time": [1,2],
                      "randomInterval": true,
                       "time_down_event":{"event": "generate room"
                  }
             },
          "events": {
              "delay":{
                  "add": {
                      "component_groups": [
                          "start"
                      ]
                  }
              }
      

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

              Created:
              Updated:
              Resolved: