mojira.dev
MC-227625

Piglins, piglin brutes and hoglins can still attack goats when attacked

1 spawn piglins, piglin brutes and hoglins
2 summon goat
3 wait for goat to attack
4 they can still attack goats

I didn't mention zoglin for the following reason: they will attack goats before the hit

Linked issues

Attachments

Comments 12

This bug happens because the game registers goat attacks as "one hit kill shot", even though the target is still alive. One hit killing will still cause piglins, hoglins and piglin brutes to retaliate. The only workaround I think should be working is to either "secretly" adding goats to their friends, or make the game attempt to completely remove "the attack owner".

2 more comments

Confirmed to 1.18.2 pre-release 1

Confirmed to 1.18.2 pre-release 2

Confirmed to 1.18.2 pre-release 3

Can confirm in 1.20.4

This is a java only bug, which cannot reproduce in bedrock edition.

AxolotlMC

(Unassigned)

Confirmed

Gameplay

Low

Mob behaviour

attack, behavior, goat, hoglin, piglin

1.17 Release Candidate 1, 1.17 Release Candidate 2, 1.17, 1.17.1 Pre-release 1, 1.17.1 Pre-release 3, ..., 1.19.3, 23w07a, 1.19.4 Pre-release 2, 1.21.1, 24w39a

Retrieved