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 p_234210_, float pPartialTick) default boolean
isEnabled
(LivingEntity pEntity, float p_234207_) void
setupFog
(FogRenderer.FogData pFogData, LivingEntity pEntity, MobEffectInstance pEffectInstance, float pFarPlaneDistance, float p_234216_)
-
Method Details
-
getMobEffect
-
setupFog
void setupFog(FogRenderer.FogData pFogData, LivingEntity pEntity, MobEffectInstance pEffectInstance, float pFarPlaneDistance, float p_234216_) -
isEnabled
-
getModifiedVoidDarkness
default float getModifiedVoidDarkness(LivingEntity pEntity, MobEffectInstance pEffectInstance, float p_234210_, float pPartialTick)
-