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 floatgetModifiedVoidDarkness(LivingEntity pEntity, MobEffectInstance pEffectInstance, float pVoidDarkness, float pPartialTick) default booleanisEnabled(LivingEntity pEntity, float pPartialTick) voidsetupFog(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)
-