Magic values are deprecated

Magic values have been deprecated about 2 months ago (see https://github.com/Bukkit/Bukkit/commit/1f83111208ab3612f384a2e6b65cc28423dc625e) and should be replaced by names. I've fixed that in this pull request. I've made all names lower case as that was already the case in the `World.Environment`.