Code analysis by Marcono1234 is good.I confirm that the light is calculated on the block at 255 :mobs burn on transparents blocks (glowstone, piston, barrier).mobs spawn when it is the day if they are on a solid block (stone).
Code analysis by Marcono1234 is good.
I confirm that the light is calculated on the block at 255 :
mobs burn on transparents blocks (glowstone, piston, barrier).
mobs spawn when it is the day if they are on a solid block (stone).