net.minecraft.world.effect

class InfestedMobEffect

extends MobEffect

All mapped superinterfaces:

FeatureElement

bvf
net.minecraft.world.effect.InfestedMobEffect
net.minecraft.class_9455
net.minecraft.unmapped.C_oqpueoay
net.minecraft.entity.effect.InfestedStatusEffect
net.minecraft.entity.effect.InfestedStatusEffect

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(arq arg0, bxe arg1, int arg2, buu 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)
private void
a(arq arg0, bxe 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)