mojira.dev
MC-193743

Piglins run away from zoglins and zombified piglins that are on the same team as them

The Bug:

Piglins run away from zoglins and zombified piglins that are on the same team as them.

By default, piglins are designed to run away from zoglins and zombified piglins, but when both the piglin and the zoglin or zombified piglin are on the same team, the piglin will still try and run away from the given entity.

Steps to Reproduce:

  1. Create a team by using the command provided below.

    /team add MC-193743
  2. Summon a piglin along with an entity that they're scared of, for example, a zoglin, that are both on the same team by using the commands provided below.

    /summon minecraft:piglin ~ ~ ~ {Team:"MC-193743"}
    /summon minecraft:zoglin ~ ~ ~ {Team:"MC-193743"}
  3. Observe the behavior of the piglin closely.

  4. Take note as to whether or not piglins run away from zoglins and zombified piglins that are on the same team as them.

Observed Behavior:

Piglins run away from zoglins and zombified piglins that are on the same team as them.

Expected Behavior:

Piglins would not run away from zoglins and zombified piglins that are on the same team as them.

Linked issues

Comments 5

anthony cicinelli

I can confirm for 1.16.3

Mateus Pereira Milbradt

And the zoglin will try to attack the piglin.

I can confirm for 20w46a.

@Maetus Pereira Milbradt that is a different bug, MC-172304, which affects teams

This ticket relates to MC-150820.

Ozone

Avoma

(Unassigned)

Confirmed

Mob behaviour

piglin, zoglin

1.16.1, 20w27a, 20w28a, 20w29a, 20w30a, ..., 24w11a, 1.21, 1.21.3, 1.21.4, 25w08a

Retrieved