Package net.minecraft.world.effect
Class HealOrHarmMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
net.minecraft.world.effect.InstantenousMobEffect
net.minecraft.world.effect.HealOrHarmMobEffect
- All Implemented Interfaces:
- IForgeMobEffect
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.world.effect.MobEffectMobEffect.MobEffectAttributeModifierTemplate
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionHealOrHarmMobEffect(MobEffectCategory p_299212_, int p_300917_, boolean p_300221_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidapplyEffectTick(LivingEntity p_300845_, int p_301393_) voidapplyInstantenousEffect(Entity p_298495_, Entity p_298887_, LivingEntity p_298479_, int p_298172_, double p_298163_) Methods inherited from class net.minecraft.world.effect.InstantenousMobEffectisInstantenous, shouldApplyEffectTickThisTickMethods inherited from class net.minecraft.world.effect.MobEffectaddAttributeModifier, addAttributeModifiers, builtInRegistryHolder, createFactorData, getAttributeModifiers, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getOrCreateDescriptionId, initializeClient, isBeneficial, onEffectStarted, removeAttributeModifiers, setFactorDataFactoryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeMobEffectgetCurativeItems, getSortOrder
- 
Field Details- 
isHarmprivate final boolean isHarm
 
- 
- 
Constructor Details- 
HealOrHarmMobEffect
 
- 
- 
Method Details- 
applyEffectTick- Overrides:
- applyEffectTickin class- MobEffect
 
- 
applyInstantenousEffectpublic void applyInstantenousEffect(@Nullable Entity p_298495_, @Nullable Entity p_298887_, LivingEntity p_298479_, int p_298172_, double p_298163_) - Overrides:
- applyInstantenousEffectin class- MobEffect
 
 
-