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

Magma and berry damage counts as self-inflicted by damage sensors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.32, 1.19.0.31 Preview
    • None
    • Confirmed
    • Windows
    • 777824

      The bug

      If you use this damage sensor:

      "minecraft:damage_sensor": {
         "triggers": {
            "on_damage": {
               "filters": {
                  "test": "is_family",
                  "subject": "other",
                  "value": "player"
               }
            },
            "deals_damage": false
         }
      }
      

      you would expect not to take damage from other players. This works correctly. However it also prevents you from taking damage from magma and berry bushes.

      How to reproduce

      1. Download and open the attached world
      2. Watch the sheep on the magma blocks

      Expected results
      They take damage

      Actual results
      They don't

            tryashtar [Mod] tryashtar
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: