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.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.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, 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
-
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)
-