us271934-Слава Україн replied to Woes of animal breeding May 30, 2022 @ 9:43:46 am PDT
I suggest not living on your ranch. Attacks happen at dawn towards mid day. I have yet to have an evening nor nighttime raid. Should be able to keep them alive and unharmed if you sleep and craft else where
from the wiki:
"Events have a 20% chance of starting every 46 minutes if there is a player within 40 meters of at least 3 base structures (except for the "You are being hunted..." event which doesn't require player base). The event is randomly selected from available events."
night or day, it matters not.
To OP: put the piggies in a barn with no windows. best you can do against the flying mob events. no fire based light in the barn or they will freak out
They dumped the fire freak out for tames a while back. I believe the effect on wilds was not changed.
5:13 pm, May 30, 2022