Class MagicMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
com.binaris.wizardry.api.content.effect.MagicMobEffect
- All Implemented Interfaces:
CustomMobEffectParticles,IEventEffect<MobEffectContext>,IMobEventEffect
- Direct Known Subclasses:
ContainmentEffect,CurseMobEffect,DecayMobEffect,FireSkinMobEffect,FontOfManaMobEffect,FrostMobEffect,FrostStepEffect,OakFleshMobEffect,ParalysisMobEffect,StaticAuraMobEffect,WardMobEffect
public abstract class MagicMobEffect
extends net.minecraft.world.effect.MobEffect
implements CustomMobEffectParticles, IMobEventEffect
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMagicMobEffect(net.minecraft.world.effect.MobEffectCategory category, int color) -
Method Summary
Modifier and TypeMethodDescriptionprotected MagicMobEffectstatic voidonParticleTick(EBLivingTick event) protected MagicMobEffectparticleCount(int count) protected MagicMobEffectparticleInterval(int ticks) protected MagicMobEffectparticleOffset(double scale) booleanMethods inherited from class net.minecraft.world.effect.MobEffect
addAttributeModifier, addAttributeModifiers, applyEffectTick, applyInstantenousEffect, byId, createFactorData, getAttributeModifiers, getAttributeModifierValue, getCategory, getColor, getDescriptionId, getDisplayName, getId, getIdFromNullable, getOrCreateDescriptionId, isBeneficial, isDurationEffectTick, isInstantenous, removeAttributeModifiers, setFactorDataFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.binaris.wizardry.api.content.effect.CustomMobEffectParticles
spawnCustomParticleMethods inherited from interface com.binaris.wizardry.core.IEventEffect
onHurtEntity, onKillEntity, onSpellPostCast, onSpellPreCast, onTick, onUserHurt
-
Constructor Details
-
MagicMobEffect
public MagicMobEffect(net.minecraft.world.effect.MobEffectCategory category, int color)
-
-
Method Details
-
onParticleTick
-
particleCount
-
particleOffset
-
particleInterval
-
hideVanillaParticles
-
shouldHideVanillaParticles
public boolean shouldHideVanillaParticles()
-