Class ScorchingMobEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
net.frozenblock.wilderwild.entity.effect.ScorchingMobEffect

public class ScorchingMobEffect extends net.minecraft.world.effect.MobEffect
  • Constructor Summary

    Constructors
    Constructor
    Description
    ScorchingMobEffect(net.minecraft.world.effect.MobEffectCategory type, int color, float chanceToScorch, ToIntFunction<net.minecraft.util.RandomSource> toIntFunction, ToIntFunction<net.minecraft.util.RandomSource> maxFires)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyEffectTick(net.minecraft.world.entity.LivingEntity livingEntity, int amplifier)
     
    boolean
    isDurationEffectTick(int duration, int amplifier)
     
    void
    onMobHurt(@NotNull net.minecraft.world.entity.LivingEntity livingEntity, int amplifier, net.minecraft.world.damagesource.DamageSource damageSource, float f)
     
    void
    onMobRemoved(net.minecraft.world.entity.LivingEntity entity, int amplifier, net.minecraft.world.entity.Entity.RemovalReason reason)
     

    Methods inherited from class net.minecraft.world.effect.MobEffect

    addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, byId, createFactorData, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getIdFromNullable, getOrCreateDescriptionId, isBeneficial, isInstantenous, removeAttributeModifiers, setFactorDataFactory

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScorchingMobEffect

      public ScorchingMobEffect(net.minecraft.world.effect.MobEffectCategory type, int color, float chanceToScorch, ToIntFunction<net.minecraft.util.RandomSource> toIntFunction, ToIntFunction<net.minecraft.util.RandomSource> maxFires)
  • Method Details

    • applyEffectTick

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

      public void onMobHurt(@NotNull @NotNull net.minecraft.world.entity.LivingEntity livingEntity, int amplifier, net.minecraft.world.damagesource.DamageSource damageSource, float f)
    • isDurationEffectTick

      public boolean isDurationEffectTick(int duration, int amplifier)
      Overrides:
      isDurationEffectTick in class net.minecraft.world.effect.MobEffect
    • onMobRemoved

      public void onMobRemoved(net.minecraft.world.entity.LivingEntity entity, int amplifier, net.minecraft.world.entity.Entity.RemovalReason reason)