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

has_damage test doesn't evaluate "magma" value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.70, 1.20.72 Hotfix
    • None
    • Confirmed
    • Multiple
    • 738375

      Reproduce:

      Set min_engine_version to 1.20.71

      Set entity format version to 1.20.71

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

       

      Expected Result:

      No errors thrown. /damage shows "magma" as a damage option, so it should be evaluated here in this filter. Additionally, fire, fire_tick, contact, and self_destruct do no work to test for magma damage. There is currently no way to test for magma block damage as of recent using has_damage filter.

      Observed Result:

      [Actor][error] ... minecraft:damage_sensor | triggers | on_damage | any_of | all_of | none_of | Filter member value of test has_damage must be a preset string.
      
      [Actor][error] ... minecraft:damage_sensor | triggers | on_damage | any_of | all_of | none_of | Filter test failed to parse inputs -> has_damage

            V1beR8er V1beR8er
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: