mojira.dev
MC-223368

Strength and weakness potions / custom attack damage attributes does not change damage from goats

When a goat has the weakness/strength potion effects, the damage they do does not change even if they are given effects that alters the damage they would dealt to the targeted mob. This also applies to summoned goats with the attack attribute set to a different value.

To reproduce

  1. Go to survival

  2. Use the given command:

    /summon minecraft:goat ~ ~ ~ {Brain: {memories: {"minecraft:ram_cooldown_ticks": {value: 10}}},Attributes:[{Base:0.0d,Name:"generic.attack_damage"}]}
  3. Let it ram at you
    → ❌ The goat deals damage even if the base value is set to 0.0

  4. Splash weakness/strength on a goat

  5. Let it ram at you
    → ❌ The goat's attack damage is not increased/decreased by the potion effect it was given.

Linked issues

Attachments

Comments 5

Can confirm in 21w16a.

Can confirm in 1.17.

This issue has been fixed in 1.17.1 Pre-release 1.

Can confirm this is no longer an issue in 1.17.1 Pre-release 1.

DrownedZombie

(Unassigned)

Confirmed

Normal

Mob behaviour

21w15a, 21w16a, 21w17a, 21w18a, 1.17

1.17.1 Pre-release 1

Retrieved