net.minecraft.entity.effect

class InfestedStatusEffect

extends StatusEffect

All mapped superinterfaces:

ToggleableFeature

btn
net.minecraft.world.effect.InfestedMobEffect
net.minecraft.class_9455
net.minecraft.entity.effect.InfestedStatusEffect
net.minecraft.unmapped.C_oqpueoay
net.minecraft.entity.effect.InfestedStatusEffect
net.minecraft.src.C_313377_

Field summary

Modifier and TypeField
private final float
c
chanceToSpawn
field_50112
silverfishChance
f_wjzspyfs
chanceToSpawn
f_314935_
private final ToIntFunction<Random>
d
spawnedCount
field_50113
silverfishCountFunction
f_ivvbwqfr
spawnCountFunction
f_315326_

Constructor summary

ModifierConstructor
protected (StatusEffectCategory category, int color, float silverfishChance, ToIntFunction<Random> silverfishCountFunction)

Method summary

Modifier and TypeMethod
public void
a(ard o, bvi o, int o, btc o, float arg4)
onMobHurt(ServerLevel arg0, LivingEntity arg1, int arg2, DamageSource arg3, float arg4)
method_58614(class_3218 arg0, class_1309 arg1, int arg2, class_1282 arg3, float arg4)
onEntityDamage(ServerWorld arg0, LivingEntity arg1, int arg2, DamageSource arg3, float arg4)
m_ntlsrlro(C_bdwnwhiu arg0, C_usxaxydn arg1, int arg2, C_sbxfkpyv arg3, float arg4)
onEntityHurt(ServerWorld arg0, LivingEntity arg1, int arg2, DamageSource arg3, float arg4)
m_6742_(C_12_ p_334146_, C_524_ p_328888_, int p_330722_, C_489_ p_331740_, float arg4)
private void
a(ard o, bvi o, double o, double arg3, double arg4)
spawnSilverfish(ServerLevel arg0, LivingEntity arg1, double arg2, double arg3, double arg4)
method_58615(class_3218 arg0, class_1309 arg1, double arg2, double arg3, double arg4)
spawnSilverfish(ServerWorld world, LivingEntity entity, double x, double y, double z)
m_qnqnjewe(C_bdwnwhiu arg0, C_usxaxydn arg1, double arg2, double arg3, double arg4)
spawnSilverfish(ServerWorld world, LivingEntity entity, double x, double y, double z)
m_319488_(C_12_ p_327972_, C_524_ p_334243_, double p_334439_, double arg3, double arg4)