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

on Damage Sensors test : has Damage and Value : Fatal doesn't work properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.16.100, 1.16.201 Hotfix
    • Unconfirmed
    • Windows

      1. Within Minecraft code "Damage Sensors" with "has damage" there's a value called "Fatal" attach that to a player
      2. Probably want an event to show what happend
      3. hit an enemy to be low
      4. The Code I used
      {
      "minecraft:damage_sensor": {
      "triggers": [
      {
      "on_damage": {
      "filters": {
      "all_of": [

      { "test": "has_damage", "value": "fatal" }

      ,

      { "test": "is_family", "subject": "other", "value": "player" }

      ]
      },
      "event": "sand:syphon",
      "target": "other"
      }
      }
      ]
      }
      }
      Observed Results:
      when you hit a target to half a heart or kill it, it activates the value (Edit; new patch it does it when you get an enemy low)
      Expected Results:
      It should only work if you kill it

            Sand2075 John Luciano Montgomery-Russo
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: