Class StaticAuraMobEffect
java.lang.Object
net.minecraft.world.effect.MobEffect
com.binaris.wizardry.api.content.effect.MagicMobEffect
com.binaris.wizardry.content.effect.StaticAuraMobEffect
- All Implemented Interfaces:
CustomMobEffectParticles,IEventEffect<MobEffectContext>,IMobEventEffect
-
Nested Class Summary
Nested classes/interfaces inherited from class com.binaris.wizardry.api.content.effect.MagicMobEffect
MagicMobEffect.EventCaller -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonUserHurt(net.minecraft.world.entity.LivingEntity user, net.minecraft.world.damagesource.DamageSource source, com.google.common.util.concurrent.AtomicDouble amount, AtomicBoolean canceled, MobEffectContext context) voidspawnCustomParticle(net.minecraft.world.level.Level world, double x, double y, double z) Methods inherited from class com.binaris.wizardry.api.content.effect.MagicMobEffect
hideVanillaParticles, onParticleTick, particleCount, particleInterval, particleOffset, shouldHideVanillaParticlesMethods 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.core.IEventEffect
onHurtEntity, onKillEntity, onSpellPostCast, onSpellPreCast, onTick
-
Constructor Details
-
StaticAuraMobEffect
public StaticAuraMobEffect()
-
-
Method Details
-
onUserHurt
public void onUserHurt(net.minecraft.world.entity.LivingEntity user, net.minecraft.world.damagesource.DamageSource source, com.google.common.util.concurrent.AtomicDouble amount, AtomicBoolean canceled, MobEffectContext context) -
spawnCustomParticle
public void spawnCustomParticle(net.minecraft.world.level.Level world, double x, double y, double z)
-