Class ScorchingMobEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
net.frozenblock.wilderwild.entity.effect.ScorchingMobEffect
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement

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

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

    CODEC, STREAM_CODEC

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • 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
    onMobHurt(net.minecraft.server.level.ServerLevel level, @NotNull net.minecraft.world.entity.LivingEntity livingEntity, int i, net.minecraft.world.damagesource.DamageSource damageSource, float f)
     
    void
    onMobRemoved(net.minecraft.server.level.ServerLevel level, 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, applyEffectTick, applyInstantenousEffect, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, isBeneficial, isInstantenous, onEffectAdded, onEffectStarted, removeAttributeModifiers, requiredFeatures, requiredFeatures, setBlendDuration, shouldApplyEffectTickThisTick, withSoundOnAdded

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled
  • 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

    • onMobHurt

      public void onMobHurt(net.minecraft.server.level.ServerLevel level, @NotNull @NotNull net.minecraft.world.entity.LivingEntity livingEntity, int i, net.minecraft.world.damagesource.DamageSource damageSource, float f)
      Overrides:
      onMobHurt in class net.minecraft.world.effect.MobEffect
    • onMobRemoved

      public void onMobRemoved(net.minecraft.server.level.ServerLevel level, net.minecraft.world.entity.LivingEntity entity, int amplifier, net.minecraft.world.entity.Entity.RemovalReason reason)
      Overrides:
      onMobRemoved in class net.minecraft.world.effect.MobEffect