Class LightThresholdLightProvider.Builder

java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.provider.LightThresholdLightProvider.Builder
Enclosing class:
LightThresholdLightProvider

public static final class LightThresholdLightProvider.Builder extends Object
Builder class for light threshold providers
  • Method Details

    • ignoreAmbientDarkness

      @Contract("->this") public LightThresholdLightProvider.Builder ignoreAmbientDarkness()
      Ignore the ambient darkness of the position when using sky light
      Returns:
      Returns this builder
    • withLightType

      @Contract("_->this") public LightThresholdLightProvider.Builder withLightType(net.minecraft.world.level.LightLayer lightType)
      Sets a light type to filter on.
      Returns:
      Returns this builder
    • build

      @Contract("->new") public LightThresholdLightProvider build()
      Returns:
      Returns a new provider with the parameters of this builder