Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-223368

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 21w15a, 21w16a, 21w17a, 21w18a, 1.17
    • 1.17.1 Pre-release 1
    • None
    • Confirmed
    • Mob behaviour
    • Normal

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              drownedzombie01 [Mod] DrownedZombie
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: