#Trying to run an event through environmental sensor

1 messages · Page 1 of 1 (latest)

lean meadow
#

i want to run an event with an environmental sensor, i have tried "on_ground", "in_ground". i want the event to trigger when the entity is 1 block above a solid block. i have tried "is_alltitude" also, but that is relevant to bedrock and not any solid block. Any help would be greatly appreciated.

crude creek
#
  "events": {
    "check_solid_below": {
      "on_environment_sensor": {
        "event": "trigger_event",
        "filters": {
          "test": "is_block_at",
          "subject": "self",
          "operator": "==",
          "value": "solid",
          "offset": [0, -1, 0]
        }
      }
    }
  },
  "events": {
    "trigger_event": {
      "sequence": [
        {
          "run_command": {
            "command": "say test"
          }
        }
      ]
    }
  }
}
lean meadow
crude creek
lean meadow
#

This setup doesnt seem to work, i cannot add this into bridge without is fussing. there is no "on_enviromental_sensor" on an event.

#

there is trigger event

lean meadow
#

@crude creek im not seeing offset in any filters.. that sure would be useful to me: /

#

im not seeing offset anywhere in the docs

#

Bro, "is_block_at" is not a thing XD

#

@crude creek

crude creek
rancid bison