Class BanishingAmuletEffect
java.lang.Object
com.binaris.wizardry.content.item.artifact.BanishingAmuletEffect
- All Implemented Interfaces:
IArtifactEffect,IEventEffect<ArtifactEffectContext>
-
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, ArtifactEffectContext context) Methods 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
-
BanishingAmuletEffect
public BanishingAmuletEffect()
-
-
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, ArtifactEffectContext context) - Specified by:
onUserHurtin interfaceIEventEffect<ArtifactEffectContext>
-