The ranger is a stealthy mob that hides itself from players when it detects one. The ranger will sprint to a bush or rush to the top floor of his outpost ("The pillager outpost") and will attack the player from where he is.
The ranger will have the same appearance as the typical pillager with the crossbow except the ranger will have a black with white robe on and bigger eyes. The ranger will have 1/4 less health than the pillager making it fairly balanced.
Mechanics (What will it do?)
The ranger will always be found near the pillage outpost or sometimes inside of the pillage outpost and they will be patrolling and looking out for any intruder. Once an intruder (Usually a player or an iron golem) is spotted they will rush to a hidden location and they will fire there arrows from up to 30 blocks away and then they will take cover. By analyzing the direction that the target is looking, they can gauge where to hide so as to avoid getting spotted, once they reloaded they will fire again. The ranger is a defensive mob meaning it won't chase players or mobs if they leave the pillager outpost area.
When a ranger is killed then they drop... Hmm idk what they can drop, its up for discussion.
Also i believe the name Ranger fits well because it rhymes with villager, pillager, illager and Illusioner haha.
The Meaning of Life, the Universe, and Everything.
Not too many specifications but like what StickyPistonPig said this mob would be cool as something else. I would say have the ranger drop what the other illagers do however that should be your job. I’ll give this some support.