net.minecraft.world.effect

class InfestedMobEffect

extends MobEffect

All mapped superinterfaces:

FeatureElement

brv
net.minecraft.world.effect.InfestedMobEffect
net.minecraft.class_9455
net.minecraft.entity.effect.InfestedStatusEffect
net.minecraft.src.C_313377_
net.minecraft.world.effect.InfestedMobEffect

Field summary

Modifier and TypeField
private final float
c
chanceToSpawn
field_50112
silverfishChance
f_314935_
private final ToIntFunction<RandomSource>
d
spawnedCount
field_50113
silverfishCountFunction
f_315326_

Constructor summary

ModifierConstructor
protected (MobEffectCategory category, int color, float silverfishChance, ToIntFunction<RandomSource> silverfishCountFunction)

Method summary

Modifier and TypeMethod
public void
a(btn arg0, int arg1, brk arg2, float arg3)
onMobHurt(LivingEntity arg0, int arg1, DamageSource arg2, float arg3)
method_58614(class_1309 arg0, int arg1, class_1282 arg2, float arg3)
onEntityDamage(LivingEntity arg0, int arg1, DamageSource arg2, float arg3)
m_6742_(C_524_ p_328888_, int p_330722_, C_489_ p_331740_, float arg3)
private void
a(dcw arg0, btn arg1, double arg2, double arg3, double arg4)
spawnSilverfish(Level arg0, LivingEntity arg1, double arg2, double arg3, double arg4)
method_58615(class_1937 arg0, class_1309 arg1, double arg2, double arg3, double arg4)
spawnSilverfish(World world, LivingEntity entity, double x, double y, double z)
m_319488_(C_1596_ p_327972_, C_524_ p_334243_, double p_334439_, double arg3, double arg4)