World: improve documentation of World::getPotentialBlockSkyLightAt()

This commit is contained in:
Dylan K. Taylor 2021-04-18 20:31:42 +01:00
parent 53ebe4f9f9
commit caf3ec1b54
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -1302,7 +1302,10 @@ class World implements ChunkManager{
}
/**
* Gets the raw block skylight level
* Returns the highest potential level of sky light at the target coordinates, regardless of the time of day or
* weather conditions.
* You usually don't want to use this for vanilla gameplay logic; prefer the real sky light instead.
* @see World::getRealBlockSkyLightAt()
*
* @return int 0-15
*/