net.minecraft.world.effect

class InfestedMobEffect

extends MobEffect

All mapped superinterfaces:

FeatureElement

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

Field summary

Modifier and TypeField
private final float
a
chanceToSpawn
field_50112
f_wjzspyfs
silverfishChance
chanceToSpawn
f_314935_
private final ToIntFunction<RandomSource>
b
spawnedCount
field_50113
f_ivvbwqfr
silverfishCountFunction
spawnCountFunction
f_315326_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(btr arg0, int arg1, brp arg2, float arg3)
onMobHurt(LivingEntity arg0, int arg1, DamageSource arg2, float arg3)
method_58614(class_1309 arg0, int arg1, class_1282 arg2, float arg3)
m_ntlsrlro(C_usxaxydn arg0, int arg1, C_sbxfkpyv arg2, float arg3)
onEntityDamage(LivingEntity arg0, int arg1, DamageSource arg2, float arg3)
onEntityHurt(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(dca arg0, btr 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)
m_qnqnjewe(C_cdctfzbn arg0, C_usxaxydn arg1, double arg2, double arg3, double arg4)
spawnSilverfish(World world, LivingEntity entity, double x, double y, double z)
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)