Package net.minecraft.client.renderer
Interface FogRenderer.MobEffectFogFunction
- All Known Implementing Classes:
FogRenderer.BlindnessFogFunction
,FogRenderer.DarknessFogFunction
- Enclosing class:
FogRenderer
static interface FogRenderer.MobEffectFogFunction
-
Method Summary
Modifier and TypeMethodDescriptiondefault float
getModifiedVoidDarkness
(LivingEntity pEntity, MobEffectInstance pEffectInstance, float pVoidDarkness, float pPartialTick) default boolean
isEnabled
(LivingEntity pEntity, float pPartialTick) void
setupFog
(FogRenderer.FogData pFogData, LivingEntity pEntity, MobEffectInstance pEffectInstance, float pFarPlaneDistance, float pPartialTick)
-
Method Details
-
getMobEffect
-
setupFog
void setupFog(FogRenderer.FogData pFogData, LivingEntity pEntity, MobEffectInstance pEffectInstance, float pFarPlaneDistance, float pPartialTick) -
isEnabled
-
getModifiedVoidDarkness
default float getModifiedVoidDarkness(LivingEntity pEntity, MobEffectInstance pEffectInstance, float pVoidDarkness, float pPartialTick)
-