Class LupusSanguinemEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
de.teamlapen.werewolves.effects.WerewolvesEffect
de.teamlapen.werewolves.effects.LupusSanguinemEffect
All Implemented Interfaces:
net.neoforged.neoforge.common.extensions.IMobEffectExtension

public class LupusSanguinemEffect extends WerewolvesEffect
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    addSanguinemEffect(net.minecraft.world.entity.LivingEntity entity)
     
    static void
    addSanguinemEffectRandom(net.minecraft.world.entity.LivingEntity entity, double chance)
     
    void
    applyEffectTick(net.minecraft.world.entity.LivingEntity entityLivingBaseIn, int amplifier)
     
    static void
    infectRandomByMob(net.minecraft.world.entity.LivingEntity entity)
     
    static void
    infectRandomByPlayer(net.minecraft.world.entity.LivingEntity entity)
     

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

    addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, builtInRegistryHolder, createFactorData, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectStarted, removeAttributeModifiers, setFactorDataFactory, shouldApplyEffectTickThisTick

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IMobEffectExtension

    fillEffectCures, getSortOrder
  • Constructor Details

    • LupusSanguinemEffect

      public LupusSanguinemEffect()
  • Method Details

    • infectRandomByPlayer

      public static void infectRandomByPlayer(@Nonnull net.minecraft.world.entity.LivingEntity entity)
    • infectRandomByMob

      public static void infectRandomByMob(@Nonnull net.minecraft.world.entity.LivingEntity entity)
    • addSanguinemEffectRandom

      public static void addSanguinemEffectRandom(@Nonnull net.minecraft.world.entity.LivingEntity entity, double chance)
    • addSanguinemEffect

      public static void addSanguinemEffect(@Nonnull net.minecraft.world.entity.LivingEntity entity)
    • applyEffectTick

      public void applyEffectTick(@Nonnull net.minecraft.world.entity.LivingEntity entityLivingBaseIn, int amplifier)
      Overrides:
      applyEffectTick in class net.minecraft.world.effect.MobEffect