Class WerewolfWeakeningEffect

java.lang.Object
net.minecraft.world.effect.MobEffect
de.teamlapen.werewolves.effects.WerewolvesEffect
de.teamlapen.werewolves.effects.WerewolfWeakeningEffect
All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeMobEffect
Direct Known Subclasses:
SilverEffect, WolfsbaneEffect

public abstract class WerewolfWeakeningEffect extends WerewolvesEffect
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAttributeModifiers(@NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, @NotNull net.minecraft.world.entity.ai.attributes.AttributeMap pAttributeMap, int pAmplifier)
     
    void
    applyEffectTick(net.minecraft.world.entity.LivingEntity entityLivingBaseIn, int amplifier)
     
    @NotNull Map<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
     
    @NotNull Map<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier>
    getAttributeModifiers(@Nullable net.minecraft.world.entity.LivingEntity entity, int pAmplifier)
     
    void
    removeAttributeModifiers(@NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, @NotNull net.minecraft.world.entity.ai.attributes.AttributeMap pAttributeMap, int pAmplifier)
     

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

    addAttributeModifier, applyInstantenousEffect, byId, createFactorData, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getId, getIdFromNullable, getOrCreateDescriptionId, initializeClient, isBeneficial, isDurationEffectTick, isInstantenous, setFactorDataFactory

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeMobEffect

    getCurativeItems, getSortOrder
  • Constructor Details

  • Method Details

    • applyEffectTick

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

      public void addAttributeModifiers(@NotNull @NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, @NotNull @NotNull net.minecraft.world.entity.ai.attributes.AttributeMap pAttributeMap, int pAmplifier)
      Overrides:
      addAttributeModifiers in class net.minecraft.world.effect.MobEffect
    • removeAttributeModifiers

      public void removeAttributeModifiers(@NotNull @NotNull net.minecraft.world.entity.LivingEntity pLivingEntity, @NotNull @NotNull net.minecraft.world.entity.ai.attributes.AttributeMap pAttributeMap, int pAmplifier)
      Overrides:
      removeAttributeModifiers in class net.minecraft.world.effect.MobEffect
    • getAttributeModifiers

      @NotNull public @NotNull Map<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers(@Nullable @Nullable net.minecraft.world.entity.LivingEntity entity, int pAmplifier)
    • getAttributeModifiers

      @NotNull public @NotNull Map<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.AttributeModifier> getAttributeModifiers()
      Overrides:
      getAttributeModifiers in class net.minecraft.world.effect.MobEffect