The concept of environments.

Basically an enum that describes a world is an overworld a nether or an end.