Class HypnotizedEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
nokunami.floral_warfare.common.effect.HypnotizedEffect
- All Implemented Interfaces:
net.minecraftforge.common.extensions.IForgeMobEffect
public class HypnotizedEffect
extends net.minecraft.world.effect.MobEffect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffectTick(@NotNull net.minecraft.world.entity.LivingEntity entity, int amp) booleanisDurationEffectTick(int duration, int amp) Methods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyInstantenousEffect, byId, createFactorData, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getEffectRendererInternal, getId, getIdFromNullable, getOrCreateDescriptionId, initializeClient, isBeneficial, isInstantenous, removeAttributeModifiers, setFactorDataFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraftforge.common.extensions.IForgeMobEffect
getCurativeItems, getSortOrder
-
Constructor Details
-
HypnotizedEffect
public HypnotizedEffect()
-
-
Method Details
-
applyEffectTick
public void applyEffectTick(@NotNull @NotNull net.minecraft.world.entity.LivingEntity entity, int amp) - Overrides:
applyEffectTickin classnet.minecraft.world.effect.MobEffect
-
isDurationEffectTick
public boolean isDurationEffectTick(int duration, int amp) - Overrides:
isDurationEffectTickin classnet.minecraft.world.effect.MobEffect
-