Class SpellCastEvent.Finish
java.lang.Object
com.binaris.wizardry.api.content.event.SpellCastEvent
com.binaris.wizardry.api.content.event.SpellCastEvent.Finish
- All Implemented Interfaces:
IWizardryEvent
- Enclosing class:
- SpellCastEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class com.binaris.wizardry.api.content.event.SpellCastEvent
SpellCastEvent.Finish, SpellCastEvent.Post, SpellCastEvent.Pre, SpellCastEvent.Source, SpellCastEvent.Tick -
Constructor Summary
ConstructorsConstructorDescriptionFinish(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers, int ticks) Finish(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers, int ticks) -
Method Summary
Methods inherited from class com.binaris.wizardry.api.content.event.SpellCastEvent
getCaster, getDirection, getLevel, getModifiers, getSource, getSpell, getX, getY, getZ, isCanceled, setCanceled
-
Constructor Details
-
Finish
public Finish(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers, int ticks) -
Finish
public Finish(SpellCastEvent.Source source, Spell spell, net.minecraft.world.level.Level world, double x, double y, double z, net.minecraft.core.Direction direction, SpellModifiers modifiers, int ticks)
-
-
Method Details
-
getTicksCasting
public int getTicksCasting() -
canBeCanceled
public boolean canBeCanceled()
-