Package de.teamlapen.werewolves.effects
Class BleedingEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
de.teamlapen.werewolves.effects.WerewolvesEffect
de.teamlapen.werewolves.effects.BleedingEffect
- All Implemented Interfaces:
net.neoforged.neoforge.common.extensions.IMobEffectExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffectTick(net.minecraft.world.entity.LivingEntity entityLivingBaseIn, int amplifier) booleanshouldApplyEffectTickThisTick(int duration, int amplifier) Methods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, builtInRegistryHolder, createFactorData, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, onEffectStarted, removeAttributeModifiers, setFactorDataFactoryMethods 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
-
BleedingEffect
public BleedingEffect()
-
-
Method Details
-
shouldApplyEffectTickThisTick
public boolean shouldApplyEffectTickThisTick(int duration, int amplifier) - Overrides:
shouldApplyEffectTickThisTickin classnet.minecraft.world.effect.MobEffect
-
applyEffectTick
public void applyEffectTick(net.minecraft.world.entity.LivingEntity entityLivingBaseIn, int amplifier) - Overrides:
applyEffectTickin classnet.minecraft.world.effect.MobEffect
-