Package de.teamlapen.werewolves.effects
Class SilverEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
de.teamlapen.werewolves.effects.WerewolvesEffect
de.teamlapen.werewolves.effects.WerewolfWeakeningEffect
de.teamlapen.werewolves.effects.SilverEffect
- 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.MobEffectInstancecreateSilverEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration, int amplifier) static net.minecraft.world.effect.MobEffectInstancecreateSilverEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration, int amplifier, boolean isContinued) 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
-
SilverEffect
public SilverEffect()
-
-
Method Details
-
createSilverEffect
public static net.minecraft.world.effect.MobEffectInstance createSilverEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration, int amplifier) -
createSilverEffect
public static net.minecraft.world.effect.MobEffectInstance createSilverEffect(net.minecraft.world.entity.LivingEntity entity, int defaultDuration, int amplifier, boolean isContinued)
-