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.minecraft.world.flag.FeatureElement,net.neoforged.neoforge.common.extensions.IMobEffectExtension
-
Nested Class Summary
Nested classes/interfaces inherited from class de.teamlapen.werewolves.effects.WerewolfWeakeningEffect
WerewolfWeakeningEffect.AttributeTemplate, WerewolfWeakeningEffect.Modifier -
Field Summary
Fields inherited from class net.minecraft.world.effect.MobEffect
CODEC, STREAM_CODECFields inherited from interface net.minecraft.world.flag.FeatureElement
FILTERED_REGISTRIES -
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, createModifiers, createParticleOptions, getBlendDurationTicks, getCategory, getColor, getDescriptionId, getDisplayName, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectAdded, onMobHurt, onMobRemoved, requiredFeatures, requiredFeatures, setBlendDuration, shouldApplyEffectTickThisTick, withSoundOnAddedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.flag.FeatureElement
isEnabledMethods 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)
-