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

Piglin, piglin brute, goat, panda, and fish are not assigned "mob" type_family

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.40.23 Preview, 1.18.12 Hotfix, 1.19.30, 1.20.41 Hotfix
    • None
    • Confirmed
    • Multiple
    • 724944

      Steps to reproduce

      1. Spawn a piglin, a panda, and a codfish.
      2. /execute @e[family = mob] ~~~ say hi

      Expected results

      The piglin, panda, and codfish say hi.

      Observed results

      "No targets matched selector"


      Hey, there👋

      When executing a command, we will input the selector, just like @s, @e, @p etc. But I found that @e[family=animal] and @e[family=mob] when selecting entities there's some wrongs.

       For e.g

      1. I tried to run command"/kill @e[family=animal]", the system tell me that "No target be selected" after I entering the command
      2. So on, I found the next selector"/kill @e[family=mob]", I ran the command and the entities all were killed except piglin and panda and so on

      The summary is:

      • "famliy=animal" Can NOT select animal
      • "family=mob" does NOT including piglin , panda and fish

      Expectancy:

      Please fix it, the selector runs go wrong causes a confusion I never met, It made me have to use more "family=!" to select my expected entities.

      Thanks

            55455247 YihuJiu
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: