Class EnvironmentManager

java.lang.Object
com.github.thedeathlycow.thermoo.api.temperature.EnvironmentManager

public final class EnvironmentManager extends Object
Controls what instance of the EnvironmentManager is to be used by Thermoo events
  • Field Details

    • INSTANCE

      public static final EnvironmentManager INSTANCE
      Singleton instance of this class
  • Method Details

    • getController

      public EnvironmentController getController()
      Returns:
      Returns the current default EnvironmentController used by Thermoo events
    • setController

      public void setController(EnvironmentController controller)
      Sets the default EnvironmentController to be used by Thermoo events.

      If this is NOT set, then it will be set to a default instance provided by Thermoo.

      NOTE: This will override the existing event, so be careful that no other mods are using this!

      Parameters:
      controller - The controller to set