Class HungerCastingCharmEffect
java.lang.Object
com.binaris.wizardry.content.item.artifact.HungerCastingCharmEffect
- All Implemented Interfaces:
IArtifactEffect
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonSpellPreCast(SpellCastEvent.Pre event, net.minecraft.world.item.ItemStack artifact) Called before a spell is cast (if player carries the artifact in their hotbar or accessories) to apply the artifact's effect.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.IArtifactEffect
onHurtEntity, onKillEntity, onPlayerHurt, onSpellPostCast, onTick
-
Constructor Details
-
HungerCastingCharmEffect
public HungerCastingCharmEffect()
-
-
Method Details
-
onSpellPreCast
Description copied from interface:IArtifactEffectCalled before a spell is cast (if player carries the artifact in their hotbar or accessories) to apply the artifact's effect.- Specified by:
onSpellPreCastin interfaceIArtifactEffect- Parameters:
event- The spell cast eventartifact- The artifact stack
-