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.
Now saddle pigs spawn a saddle pickup when killed
Now saddled horses spawn a saddle pickup when killed
Added random chicken spawn when throwing an egg
Fixed indentation
Extra line
attempt at fixing indentation
extra line