mojira.dev
MCPE-150420

Pillagers and Piglins don't look at the target while charging their crossbows

This issue affects the mobs holds crossbow as their weapons. Their head sometimes turn around while they charging the crossbow. The video below shows the different between Java and  Bedrock edition. 

Attachments

Comments 5

This issue is related with MCPE-143949

Thank you for your report!

However, this issue has been temporarily closed as Awaiting Response.

Is this still an issue in the latest version? If yes, can you please add it to the affected versions (or mention it if you are not the reporter)?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

I also tried to fix this issue myself by edit Add-ons pack(example: pillager.json)

I added the  "minecraft:behavior.look_at_target":

{         "priority": 5,         "look_distance": 16,         "look_time": 1       }

, 

in the:

"minecraft:ranged_attack": {

        "minecraft:behavior.ranged_attack":

{           "priority": 4,           "attack_interval_min": 1.0,           "attack_interval_max": 1.0,           "attack_radius": 8.0         }

,

        "minecraft:shooter":

{           "def": "minecraft:arrow"         }

,

 

to be:

 

"minecraft:ranged_attack": {

        "minecraft:behavior.ranged_attack":

{           "priority": 4,           "attack_interval_min": 1.0,           "attack_interval_max": 1.0,           "attack_radius": 8.0         }

,

        "minecraft:behavior.look_at_target":

{         "priority": 5,         "look_distance": 16,         "look_time": 1         }

,

        "minecraft:shooter":

{           "def": "minecraft:arrow"         }

,

 

and it seems be fixed. I also tried to added ""minecraft:behavior.look_at_target"" to the "component" but it incompatible with "minecraft:behavior.charge_held_item" which makes pillager charge its crossbow. So I moved the "minecraft:behavior.ranged_attack" from "minecraft:ranged_attack" to "component".

The video shows the Bug have been uploaded.

DrAlanWong

(Unassigned)

888251

Confirmed

Multiple

1.19.50.22 Preview, 1.19.50.21 Preview, 1.19.30.25 Preview, 1.19.30.21 Preview, 1.19.10.24 Preview, ..., 1.19.2 Hotfix, 1.19.20, 1.19.22 Hotfix, 1.19.40, 1.20.62 Hotfix

Retrieved