mojira.dev
MC-229507

Goat knockback is not bound to attack knockback attribute

What I expected to happen was...:
Goat knockback being changeable with attributes

What actually happened was...:
Goat ram knockback being locked and not changeable with commands

Steps to Reproduce:
1. summon a goat with the attack knockback set to any number

/summon minecraft:goat ~ ~1 ~ {Attributes:[{Name:"generic.attack_knockback",Base:100f}]}

2. goats rams an entity

3. entity distance doesnt change no matter the value of the attribute

Attachments

Comments

migrated

It might be helpful if you attached a command in the description so people can more easily reproduce the bug

migrated

added a command to reproduce the bug

Avoma

I can confirm that this is an issue. When a goat rams you the "minecraft:generic.attack_knockback" is not considered and normal knockback is dealt to you. Also affects 1.17.1.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.19.1.

migrated

Relates to MC-269226. This pertains to a broader range of mobs beyond just goats.

migrated

(Unassigned)

Community Consensus

Combat

1.17, 1.17.1 Pre-release 1, 1.17.1, 1.18.1, 1.19.1, 1.20.2

Retrieved