net.minecraft.world.effect

class WeavingMobEffect

extends MobEffect

All mapped superinterfaces:

FeatureElement

bsh
net.minecraft.world.effect.WeavingMobEffect
net.minecraft.class_9458
net.minecraft.entity.effect.WeavingStatusEffect
net.minecraft.src.C_313564_
net.minecraft.world.effect.WeavingMobEffect

Field summary

Modifier and TypeField
private final ToIntFunction<RandomSource>
c
maxCobwebs
field_50123
cobwebChanceFunction
f_314740_

Constructor summary

ModifierConstructor
protected (MobEffectCategory category, int color, ToIntFunction<RandomSource> cobwebChanceFunction)

Method summary

Modifier and TypeMethod
public void
a(btn arg0, int arg1, bsr$c arg2)
onMobRemoved(LivingEntity arg0, int arg1, Entity$RemovalReason arg2)
method_58617(class_1309 arg0, int arg1, class_1297$class_5529 arg2)
onEntityRemoval(LivingEntity arg0, int arg1, Entity$RemovalReason arg2)
m_319157_(C_524_ p_333338_, int p_328096_, C_507_$C_141065_ arg2)
private void
a(dcw arg0, ayw arg1, jd arg2)
spawnCobwebsRandomlyAround(Level arg0, RandomSource arg1, BlockPos arg2)
method_58628(class_1937 arg0, class_5819 arg1, class_2338 arg2)
tryPlaceCobweb(World world, Random random, BlockPos pos)
m_324020_(C_1596_ p_332035_, C_212974_ p_329542_, C_4675_ arg2)