mojira.dev
MCPE-152628

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

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

🙂

Linked issues

Comments 3

"animal" is not used as a family for any mobs, so adding it would be a feature request. Feature requests should be made on feedback.minecraft.net.

I can confirm that piglin, panda, and fish are missing the "mob" family assignment in the vanilla behavior pack.

Strangely, goats were given the “animal” family while no other mob uses it.

I almost forgot about this issue if not my e-mail call me, this problem has not been solved yet?

55455247

(Unassigned)

724944

Confirmed

Multiple

1.19.40.23 Preview, 1.18.12 Hotfix, 1.19.30, 1.20.41 Hotfix

Retrieved