Class LightThresholdLightProvider.Builder
java.lang.Object
com.github.thedeathlycow.thermoo.api.environment.provider.LightThresholdLightProvider.Builder
- Enclosing class:
LightThresholdLightProvider
Builder class for light threshold providers
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Ignore the ambient darkness of the position when using sky lightwithLightType(net.minecraft.world.level.LightLayer lightType) Sets a light layer to filter on.
-
Method Details
-
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 layer to filter on.- Returns:
- Returns this builder
-
build
- Returns:
- Returns a new provider with the parameters of this builder
-