MinecraftForge/MinecraftForge — pull request #126 by heldplayer (2012-08-17 20:53:32+00:00)
Title: Adds a way for mods to have a custom sky renderer

This adds a method to WorldProvider that returns the default sky renderer which is for the overworld. The other WorldProvider classes override this method for their specific sky renderer. This also adds a method to set the sky renderer of a WorldProvider which is set to null by default. The classes that extend WorldProvider check if the sky renderer is null before returning their own.

Each sky renderer also saves its own instance to prevent multiple instances.