net.minecraft.entity.effect

class InstantHealthOrDamageStatusEffect

extends InstantStatusEffect

All mapped superinterfaces:

ToggleableFeature

net.minecraft.world.effect.HealOrHarmMobEffect
net.minecraft.world.effect.HealOrHarmMobEffect
net.minecraft.class_8632
net.minecraft.entity.effect.InstantHealthOrDamageStatusEffect

Field summary

Modifier and TypeField
private final boolean
isHarm
isHarm
field_45103
damage

Constructor summary

ModifierConstructor
public (StatusEffectCategory category, int color, boolean damage)

Method summary

Modifier and TypeMethod
public boolean
applyEffectTick(ServerLevel level, LivingEntity mob, int amplification)
applyEffectTick(ServerLevel level, LivingEntity mob, int amplification)
method_5572(class_3218 arg0, class_1309 arg1, int arg2)
applyUpdateEffect(ServerWorld arg0, LivingEntity arg1, int arg2)
public void
applyInstantenousEffect(ServerLevel serverLevel, Entity source, Entity owner, LivingEntity mob, int amplification, double scale)
applyInstantenousEffect(ServerLevel serverLevel, Entity source, Entity owner, LivingEntity mob, int amplification, double scale)
method_5564(class_3218 arg0, class_1297 arg1, class_1297 arg2, class_1309 arg3, int arg4, double arg5)
applyInstantEffect(ServerWorld arg0, Entity arg1, Entity arg2, LivingEntity arg3, int arg4, double arg5)