I was playing on my world in Minecraft today and I wanted to create a pillager jail in a village. So I created a jail, spawned some pillagers in and used a command to remove the pillager's crossbows. Soon, I went into Survival to test the prison if it is escape-proof. I started at a jail cell to see if there was a way pillagers could escape. Then, I was attacked. I was trying to find out what was attacking me, so I gave myself Resistance 100. When I went into the jail cell, pillagers were firing at me even without their crossbows. I was kind of confused because I thought they couldn't shoot without their crossbows.
Linked issues
is duplicated by 16
relates to 2
Attachments
Comments 13

Still an issue in 1.16.20.50. Same problem with Piglins that naturally spawn with crossbows.
Affects 1.16.100
[JE Only]Java is different than bedrock
pillagers aren’t passive in bedrock
the wiki shows pillager passive without crossbow [JE Only]

Probably working as intended based on MCPE-23165.
affects 1.17.30.22
Affects 1.17.40.20
Affects 1.18
Affects 1.19.73

Affects 1.20.12, also pillagers don't have durability on their crossbows.
Affects 1.14
Tested via this command:
The pillagers continue to shoot arrows out of their face (see image), and without the need to wait for the crossbow to load the attack speed is even faster.
This also appears to be happening when switching out the item in their offhand by anything, i.e. air.
The reason for me to test this is that i tried to get "peaceful/passive pillagers" like in this bug report: https://bugs.mojang.com/browse/MC-157022 (note: the crossbows sadly do not break in MC Bedrock!) for an adventure map i am about to create.
[media]Also, this happened in unloaded chunks:
[media]