Pillagers try to get close to the target before attacking
The new Pillager mob tries to get close to it's target after reloading the crossbow. This should not be the case, they should try to shoot from the furthest distance possible, like skeletons do.
- Unresolved
[Mod] LateLag- 28
- 14
- Confirmed
- 181043, 718959
- Multiple
- Android 7.0
1.19.50.22 Preview - 1.20.62 Hotfix
1.19.50.22 Preview 1.19.50.21 Preview 1.19.50.20 Preview 1.19.40.24 Preview 1.13.0.1 Beta 1.12.0.14 Beta 1.19.30.25 Preview 1.19.20.22 Preview 1.18.30.29 Preview 1.18.30.28 Beta 1.18.10.27 Beta 1.18.10.26 Beta 1.18.10.21 Beta 1.18.0.21 Beta 1.18.0.20 Beta 1.16.210.55 Beta 1.15.0.8 RTX Beta 1.16.0.60 Beta 1.14.1.3 Beta 1.11.0.10 Beta 1.9.0 1.11.0.1 Beta 1.11.0.3 Beta 1.11.0.9 Beta 1.11.0 1.12.0.3 Beta 1.12.0.4 Beta 1.11.1 1.11.2 1.11.3 1.11.4 1.13.0.2 Beta 1.12.0 1.14.1.2 Beta 1.14.0 1.14.60 Hotfix 1.17.32 1.17.33 1.17.34 1.18.0 1.18.1 Hotfix 1.18.2 Hotfix 1.19.10 1.19.22 Hotfix 1.19.31 Hotfix 1.19.40 1.20.62 Hotfix
Created Issue:
Pillagers try to get close to the target before attacking
The new Pillager mob tries to get close to it's target after reloading the crossbow. This should be the case, they should try to shoot from the furthest distance possible, like skeletons do.
- Unresolved
- Open
- Unconfirmed
- Android
- Android 7.0
- 1.9.0 1.11.0.1 Beta
@Kevin Kaito Okada I just realized that in Bedrock, pillagers load their crossbows while in Java, they don't.
is duplicated by
is duplicated by
relates to
The new Pillager mob tries to get close to it's target after reloading the crossbow. This should not be the case, they should try to shoot from the furthest distance possible, like skeletons do.
relates to
is duplicated by
relates to
Thank you for your report!
We're actually already tracking this issue at MCPE-42471, so I will resolve and link this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for your report!
We're tracking this issue in MCPE-42471, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
– I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
Resolving as a duplicate of MCPE-42471.
This is an intentional behaviour. Pillagers do this in Java edition as well.
@Euwill Eusebio they don't do that in Java Edition. They get close, recharge and then shoot.
In Bedrock, they recharge, get close (sometimes they literally start pushing the target) and then shoot.
Ah, I see now. You're right.
The Piglin mobs in the beta versions don't show the occurence of this behavior. It's still a bug exclusive to the Pillager.
Still not fixed in 1.16.1
still affecting 1.16.210
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 so, please add a comment or update the affected version field.
To make your bug report as effective as possible, please try and include the following steps to reproduce the problem:
If your ticket does not look like the example given here, then it's likely to be closed as incomplete.
This ticket will automatically reopen when you reply.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
Steps to Reproduce:
1. spawn a pillager
2. go to survival
3.
Observed Results:
They run close into you
Expected Results:
they should stay far from the target
Affects 1.20. They dash to the player after they finish charging their crossbow.
Java had the same issue, but it was fixed years ago: see
MC-137755.In Bedrock this issue is caused in some way by the component,
"minecraft:behavior.charge_held_item",
which loads the crossbow. If you replace the pillager's crossbow with any other item then it behaves as expected, not rushing up to its target. If you remove the component from the pillager then it cannot attack while holding a crossbow, but it still attacks as expected if you replace the crossbow with any other item.
That aside, the issue can be fixed by inserting
"target_in_sight_time": 0.1,
into "minecraft:behavior.ranged_attack"
This parameter prevents piglins from having this issue. Pillagers use the default sight time of 1 second. I guess that the time gets reset whenever "minecraft:behavior.charge_held_item" runs, and so the pillager runs for exactly 1s after charging its crossbow before it can shoot again.
I've attached a behavior pack based on GoldenHelmet's fix. MCPE-42471.mcpack
I spent years researching and finally managed to fix the AI of the Bedrock Edition pillager, making it possible to match the Java version of pillagers:
pillager.json
ps. The angry components can be removed. I added them because of the "reinforcements" mob behaviour in Java edition. Refer to wiki illager page, on all difficulty levels, damaged illager mobs call all other illagers of their respective type within an area centered on the attacked illager to target the attacker, as long as the attacker is a non-illager.
Still affects the latest release 1.21.51