net.minecraft.world.effect

public final class MobEffectUtil

buq
net.minecraft.world.effect.MobEffectUtil
net.minecraft.class_1292
net.minecraft.entity.effect.StatusEffectUtil
net.minecraft.world.effect.MobEffectUtil

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static Component
a(bup arg0, float arg1, float arg2)
formatDuration(MobEffectInstance arg0, float arg1, float arg2)
method_5577(class_1293 arg0, float arg1, float arg2)
getDurationText(StatusEffectInstance effect, float multiplier, float tickRate)
public static boolean
a(bwg arg0)
hasDigSpeed(LivingEntity arg0)
method_5576(class_1309 arg0)
hasHaste(LivingEntity entity)
public static int
b(bwg arg0)
getDigSpeedAmplification(LivingEntity arg0)
method_5575(class_1309 arg0)
getHasteAmplifier(LivingEntity entity)
public static boolean
c(bwg arg0)
hasWaterBreathing(LivingEntity arg0)
method_5574(class_1309 arg0)
hasWaterBreathing(LivingEntity entity)
public static List<ServerPlayer>
a(ash arg0, bvk arg1, fby arg2, double arg3, bup arg4, int arg5)
addEffectToPlayersAround(ServerLevel arg0, Entity arg1, Vec3 arg2, double arg3, MobEffectInstance arg4, int arg5)
method_42143(class_3218 arg0, class_1297 arg1, class_243 arg2, double arg3, class_1293 arg4, int arg5)
addEffectToPlayersWithinDistance(ServerWorld world, Entity entity, Vec3d origin, double range, StatusEffectInstance statusEffectInstance, int duration)