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

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 21w15a, 21w16a, 21w17a, 21w18a, 1.17
    • Fix Version/s: 1.17.1 Pre-release 1
    • Labels:
      None
    • Confirmation Status:
      Confirmed
    • Category:
      Mob behaviour
    • Mojang Priority:
      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

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

                Dates

                Created:
                Updated:
                Resolved:
                CHK: