#border not working

4 messages · Page 1 of 1 (latest)

steady vigil
#

What is wrong with this the commands are not being executed when I walk beyond the scoreboard Border_Cord_X value

#

Animation controller

{
  "format_version": "1.19.41",
  "animation_controllers": {
    "controller.animation.border_control_pos": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "border_control": "(query.position(0) \u003e variable.border_control_coord_x \u0026\u0026 (variable.border_control_coord_x \u003e 0)) || (query.position(2) \u003e variable.border_control_coord_z \u0026\u0026 (variable.border_control_coord_z \u003e 0))"
            }
          ]
        },
        "border_control": {
          "transitions": [
            {
              "default": "(0.1)"
            }
          ],
          "on_entry": [
            "/execute as @s run say xhxjjxxj"
          ]
        }
      }
    },
    "controller.animation.border_control_neg": {
      "initial_state": "default",
      "states": {
        "default": {
          "transitions": [
            {
              "border_control": "(query.position(0) \u003c -(variable.border_control_coord_x)) || (query.position(2) \u003c -(variable.border_control_coord_z))"
            }
          ]
        },
        "border_control": {
          "transitions": [
            {
              "default": "(0.1)"
            }
          ],
          "on_entry": [
            "/secure as @s run say jzsnnxnnssn"
          ]
        }
      }
    }
  }
}
#

Animation

{
  "format_version": "1.19.41",
  "animations": {
    "animation.testing": {
      "timeline": {
        "0.0": [
          "variable.border_control_coord_x && query.scoreboard(Border_Coord_X);",
          "variable.border_control_coord_z && query.scoreboard(Border_Coord_Z);"
        ]
      },
      "animation_length": 0.01,
      "loop": true
    }
  }
}
spice anvil
#

It is hard to read the controllers and animations when their contents are partially replaced with Unicode escape sequences