Use normalized name for World.Environment instead of selecting it based on whether the type is NETHER

This works even when more world types are added and also adds THE_END, which had not been added previously
Merge pull request #317 from koesie10/magic-values

Use normalized name for World.Environment