Spawn a decoy that attracts unwelcome guests.
Shift right click the decoy to get the item.
the mobs prefer to attack me in survival
any way you could change their prioritizations ?
there is a config option for this