Class FireSkinMobEffect

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

public class FireSkinMobEffect extends MagicMobEffect
  • Constructor Details

    • FireSkinMobEffect

      public FireSkinMobEffect()
  • 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)
    • applyEffectTick

      public void applyEffectTick(net.minecraft.world.entity.LivingEntity livingEntity, int i)
      Overrides:
      applyEffectTick in class net.minecraft.world.effect.MobEffect
    • isDurationEffectTick

      public boolean isDurationEffectTick(int i, int j)
      Overrides:
      isDurationEffectTick in class net.minecraft.world.effect.MobEffect