Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-169905

minecraft:behavior.ram_attack component not working for entities with large collision boxes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.19.73, 1.19.81 Hotfix, 1.19.83 Hotfix, 1.20.0
    • None
    • Survival
    • Confirmed
    • Windows
    • 1021143

      Steps to reproduce:
      1. make an entities collision box 4 in width and 4 in height
      2. add ram_attack behavior and required components
      3. go in game and watch custom entity line up for a ram attack but never actually go forward
      4.replace both the collision box values with 0.5
      go back in game and entity will line up with player and charge (functions how it should)

      observed results:
      with large hitbox: entity goes to an appropriate position to perform a ram attack on the player but once they are in that position they never charge at the player

      with small collision box: does the same as before but will charge at player once positioned properly.
      Large collision box problem
      expected results:
      both large and small collision box entities to function the same with ram_attack component (large collision box entity should charge at player)
      Example

        1. BP.zip
          46 kB
        2. RP.zip
          48 kB

            searmr_cool SearMr Cool
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              CHK: