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.Sources, SpellCastEvent.Tick -
Constructor Summary
ConstructorsConstructorDescriptionFinish(SpellCastEvent.Source source, Spell spell, CastContext context) Finish(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers, int ticks) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintDeprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.binaris.wizardry.api.content.event.SpellCastEvent
getCaster, getContext, getDirection, getLevel, getModifiers, getSource, getSpell, getX, getY, getZ, isCanceled, setCanceled
-
Constructor Details
-
Finish
-
Finish
@Deprecated(forRemoval=true) public Finish(SpellCastEvent.Source source, Spell spell, net.minecraft.world.entity.LivingEntity caster, SpellModifiers modifiers, int ticks) Deprecated, for removal: This API element is subject to removal in a future version. -
Finish
@Deprecated(forRemoval=true) 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) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getTicksCasting
Deprecated, for removal: This API element is subject to removal in a future version. -
canBeCanceled
public boolean canBeCanceled()
-