net.minecraft.world.effect

class InfestedMobEffect

extends MobEffect

All mapped superinterfaces:

FeatureElement

btn
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
c
chanceToSpawn
field_50112
f_wjzspyfs
silverfishChance
chanceToSpawn
f_314935_
private final ToIntFunction<RandomSource>
d
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(ard arg0, bvi arg1, int arg2, btc arg3, 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)
m_ntlsrlro(C_bdwnwhiu arg0, C_usxaxydn arg1, int arg2, C_sbxfkpyv arg3, float arg4)
onEntityDamage(ServerWorld arg0, LivingEntity arg1, int arg2, DamageSource 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 arg0, bvi arg1, double arg2, 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)
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)
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)