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

Entities with knockback resistance can get knocked back using punch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.10, Minecraft 16w44a, Minecraft 1.12.1, Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 2, 19w35a, 1.15.1, 1.15.2, 20w17a, 20w21a, 1.16 Pre-release 4, 1.16 Pre-release 5, 1.16 Pre-release 7, 1.16 Pre-release 8, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w27a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      Mob behaviour

      Description

      The bug

      Trying to summon a villager that cannot be moved (with 1.0 velocity-resistance). When shot with an non enchanted bow, the villager won't move. But when shot with a punch bow, it will, depending on the strength of the enchantment.

      How to reproduce

      1. Get yourself a bow with the punch enchantment.
        /give @p bow{Enchantments:[{id:punch,lvl:2}]}
        
      2. Summon a villager with Knockback resistance.
         
        /summon minecraft:villager ~ ~ ~ {Attributes:[{Name:generic.knockback_resistance,Base:1.0}]}
        

        The villager took knockback

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              TfStef Stef
              Votes:
              23 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: