i used /replaceitem on a pillager So he had no weapon And he still shot arrows
I named a pillager Friendly and used /replaceitem entity @e[Name=Friendly] slot.weapon.mainhand 1 air and went into survival and all of a sudden he started shooting arrows at me
It says the video i have is too big so heres a link for it in google drive https://drive.google.com/file/d/1izYQXNUEuUpQr9Kx8CS9szEIURltkXUx/view?usp=drivesdk