Class WardMobEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
com.binaris.wizardry.api.content.effect.MagicMobEffect
com.binaris.wizardry.content.effect.WardMobEffect
All Implemented Interfaces:
CustomMobEffectParticles, IEventEffect<MobEffectContext>, IMobEventEffect

public class WardMobEffect extends MagicMobEffect
  • Constructor Details

    • WardMobEffect

      public WardMobEffect()
  • Method Details

    • onUserHurt

      public void onUserHurt(net.minecraft.world.entity.LivingEntity user, net.minecraft.world.damagesource.DamageSource source, com.google.common.util.concurrent.AtomicDouble amount, AtomicBoolean canceled, MobEffectContext context)
    • spawnCustomParticle

      public void spawnCustomParticle(net.minecraft.world.level.Level world, double x, double y, double z)