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

Zoglins uselessly try to attack Withers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.16.100.50 Beta, 1.16.20.54 Beta, 1.16.20.53 Beta, 1.16.0.68 Beta, 1.16.0.63 Beta, 1.16.0.61 Beta, 1.16.0.60 Beta, 1.16.0.59 Beta, 1.16.0, 1.16.1, 1.16.10, 1.16.201 Hotfix
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Platform:
      Multiple
    • ADO:
      359423

      Description

      Summary
      Zoglins try to attack Withers, which they cannot damage.

      How to reproduce:

      1. Spawn a wither and a zoglin

      -> The zoglin chases the wither to no avail

      Fix:
      Change the following field in the zoglin.json file to:

            "minecraft:behavior.nearest_attackable_target": {
              "priority": 3,
              "within_radius": 16.0,
              "entity_types": [
                {
                  "filters": {
                    "all_of": [
                      {
                        "test": "is_family",
                        "subject": "other",
                        "operator": "!=",
                        "value": "zoglin"
                      },
                      {
                        "test": "is_family",
                        "subject": "other",
                        "operator": "!=",
                        "value": "creeper"
                      },
                      {
                        "test": "is_family",
                        "subject": "other",
                        "operator": "!=",
                        "value": "wither"
                      }
                    ]
                  },
                  "max_dist": 16
                }
              ],
              "must_see": true
            },
      

        Attachments

          Issue Links

            Activity

              People

              Reporter:
              Jarl-Penguin [Helper] Jarl-Penguin
              Votes:
              12 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: