Package de.teamlapen.werewolves.effects
Class WolfsbaneEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
de.teamlapen.werewolves.effects.WerewolvesEffect
de.teamlapen.werewolves.effects.WerewolfWeakeningEffect
de.teamlapen.werewolves.effects.WolfsbaneEffect
- All Implemented Interfaces:
net.neoforged.neoforge.common.extensions.IMobEffectExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class de.teamlapen.werewolves.effects.WerewolfWeakeningEffect
WerewolfWeakeningEffect.Modifier -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.effect.MobEffectInstancecreateWolfsbaneEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration) static net.minecraft.world.effect.MobEffectInstancecreateWolfsbaneEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration, int amplifier) Methods inherited from class de.teamlapen.werewolves.effects.WerewolfWeakeningEffect
addAttributeModifiers, addAttributeModifiers, applyEffectTick, getAttributeModifiers, getAttributes, onEffectStarted, removeAttributeModifiersMethods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, applyInstantenousEffect, builtInRegistryHolder, createFactorData, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, setFactorDataFactory, shouldApplyEffectTickThisTickMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.common.extensions.IMobEffectExtension
fillEffectCures, getSortOrder
-
Constructor Details
-
WolfsbaneEffect
public WolfsbaneEffect()
-
-
Method Details
-
createWolfsbaneEffect
public static net.minecraft.world.effect.MobEffectInstance createWolfsbaneEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration) -
createWolfsbaneEffect
public static net.minecraft.world.effect.MobEffectInstance createWolfsbaneEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration, int amplifier)
-