net.minecraft.world.effect

class WeavingMobEffect

extends MobEffect

All mapped superinterfaces:

FeatureElement

bux
net.minecraft.world.effect.WeavingMobEffect
net.minecraft.class_9458
net.minecraft.entity.effect.WeavingStatusEffect
net.minecraft.world.effect.WeavingMobEffect

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ash arg0, bwg arg1, int arg2, bvk$d arg3)
onMobRemoved(ServerLevel arg0, LivingEntity arg1, int arg2, Entity$RemovalReason arg3)
method_58617(class_3218 arg0, class_1309 arg1, int arg2, class_1297$class_5529 arg3)
onEntityRemoval(ServerWorld arg0, LivingEntity arg1, int arg2, Entity$RemovalReason arg3)
private void
a(ash arg0, bam arg1, jh arg2)
spawnCobwebsRandomlyAround(ServerLevel arg0, RandomSource arg1, BlockPos arg2)
method_58628(class_3218 arg0, class_5819 arg1, class_2338 arg2)
tryPlaceCobweb(ServerWorld world, Random random, BlockPos pos)