Hoglins get scared of warped fungi, even if those are covered with blocks (in my case I used Crymson Nylium).