Mojira Archive
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.

Fixed

DrownedZombie

2021-04-16, 04:25 PM

2021-06-26, 07:32 PM

2021-06-26, 07:32 PM

4

2

Confirmed

Normal

Mob behaviour

21w15a - 1.1721w15a, 21w16a, 21w17a, 21w18a, 1.17

1.17.1 Pre-release 1