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

Mobs holding Knockback swords in vehicles deal knockback in the wrong direction

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.1, 1.20.2 Pre-release 2
    • None
    • Confirmed
    • (Unassigned)

      Steps to Reproduce:

      1. Spawn a zombie carrying a sword enchanted with Knockback and riding a boat:
        /summon boat ~ ~ ~ {Passengers:[{id:zombie,HandItems:[{id:iron_sword,Count:1,tag:{Enchantments:[{id:knockback,lvl:2}],AttributeModifiers:[{AttributeName:generic.attack_damage,Amount:-0.9999,Operation:2,UUID:[I;1,2,3,4]}]}}]}]}
      2. Walk around the zombie and notice that there is only knockback dealt in one direction - the direction his head is facing

      Expected Behaviour:

      The player should always be knocked radially away from the zombie.

            Unassigned Unassigned
            Shuddery Shuddery
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: