Current Mob Spawning code.
Swapped which block is checked for light first.
Added two new unbounded del functions to deal with looking up the lighting.
Invalid light value is now 127
Bats only spawn where there is no sunlight, and the light level is below 5
Removed my hackish Light functions
Merge branch 'master' of https://github.com/SamJBarney/MCServer into MobSpawning
Using provided UnboundedRelGetBlockBlockLight and UnboundedRelGetBlockSkyLight.
Fixed mob spawning so that hostile mobs will not spawn incorrectly.
Checked Endermen; they work; adding them back in.
Moving spawning position to the center of the block.
Disabling Endermen and spiders until I rework the CanSpawnHere to take a chunk and a position.
Made mob spawning code use the chunk so that it could use varying sizes of areas for different mobs.
Got spiders and other mobs respecting night and day for spawning
Merge branch 'master' of https://github.com/SamJBarney/MCServer into MobSpawning
Update to allow the light map to remain the same, but allow alteration of sky light values based on time.
Changes based on madmaxoft's nitpicker notes.
Last of the nitpicker note fixes. Added some inline commenting.
Merge pull request #292 from SamJBarney/MobSpawning

Mob Spawning based on light values