the bats never attack,the iron golem is a mob for saving the villagers from the hostle mobs only the creeper,the spider dosent attack at the day light,wolf's stay wolf's,hit them and they attack,tame them and get friends,zombie pigman never burn or die in the daylight unless:-
1.killing him with hitting him.
2.Putting him in the water
the water makes the zombie pigman hurt,just like if u pushed a normal zombie to the lava.
And slimes dosent die easly,attack them alot and they die,but there something u must know about slimes :-
THEY NEVER KNOW HOW TO SWIM
so u should make a hole 4x4 full of water and they fall in it,they wont be able to jump up of it,and drowns.
Skeletons and zombies burns in the daylight,some of them hides under the trees.
Creepers never burn in the sun,they still after u when u get near then them or hit them.